Skip to content

Commit

Permalink
remove unnecessarry migration
Browse files Browse the repository at this point in the history
  • Loading branch information
var77 committed Jun 7, 2024
1 parent 468c240 commit 5f68525
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-cli-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
type: string
description: "CLI version"
required: true
default: "0.3.0"
default: "0.3.1"
IMAGE_NAME:
type: string
description: "Container image name to tag"
Expand Down
9 changes: 1 addition & 8 deletions lantern_cli/src/daemon/embedding_jobs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -948,13 +948,6 @@ pub async fn start(
mpsc::channel(1);
let table = args.table_name;

//TODO:: Remove migration on next release
let migration_sql = format!(
"ALTER TABLE {full_table_name} ADD COLUMN IF NOT EXISTS label TEXT NULL;",
full_table_name = get_full_table_name(&args.schema, &table)
);
// ======================================

startup_hook(
&mut main_db_client,
&table,
Expand All @@ -965,7 +958,7 @@ pub async fn start(
None,
Some(EMB_USAGE_TABLE_NAME),
Some(USAGE_TABLE_DEFINITION),
Some(&migration_sql),
None,
&notification_channel,
logger.clone(),
)
Expand Down

0 comments on commit 5f68525

Please sign in to comment.