diff --git a/_sql/migrations/2024-05-14-024653_alter_inference_jobs_widen_routing_column/down.sql b/_sql/migrations/2024-05-14-024653_alter_inference_jobs_widen_routing_column/down.sql new file mode 100644 index 0000000000..985aebc3b9 --- /dev/null +++ b/_sql/migrations/2024-05-14-024653_alter_inference_jobs_widen_routing_column/down.sql @@ -0,0 +1,6 @@ +-- noinspection SqlDialectInspectionForFile +-- noinspection SqlNoDataSourceInspectionForFile +-- noinspection SqlResolveForFile + +ALTER TABLE generic_inference_jobs + CHANGE maybe_routing_tag maybe_routing_tag VARCHAR(32) DEFAULT NULL; diff --git a/_sql/migrations/2024-05-14-024653_alter_inference_jobs_widen_routing_column/up.sql b/_sql/migrations/2024-05-14-024653_alter_inference_jobs_widen_routing_column/up.sql new file mode 100644 index 0000000000..85dfb3c214 --- /dev/null +++ b/_sql/migrations/2024-05-14-024653_alter_inference_jobs_widen_routing_column/up.sql @@ -0,0 +1,6 @@ +-- noinspection SqlDialectInspectionForFile +-- noinspection SqlNoDataSourceInspectionForFile +-- noinspection SqlResolveForFile + +ALTER TABLE generic_inference_jobs + CHANGE maybe_routing_tag maybe_routing_tag VARCHAR(64) DEFAULT NULL; \ No newline at end of file diff --git a/_sql/migrations_squashed/generic_inference_jobs.sql b/_sql/migrations_squashed/generic_inference_jobs.sql index aebaaff140..12795dbb1f 100644 --- a/_sql/migrations_squashed/generic_inference_jobs.sql +++ b/_sql/migrations_squashed/generic_inference_jobs.sql @@ -166,7 +166,7 @@ CREATE TABLE generic_inference_jobs ( -- The tag is typically added via a special HTTP header when the work -- is enqueued. In practice, this means we can canary deploy or cordon -- off special workers to handle certain jobs. - maybe_routing_tag VARCHAR(64) DEFAULT NULL, -- TODO(bt,2024-05-13): Widen column 32 --> 64 !!! + maybe_routing_tag VARCHAR(64) DEFAULT NULL, -- ========== JOB SYSTEM DETAILS ==========