migration: widen routing tag

This commit is contained in:
Brandon Thomas committed 2024-05-13 19:52:41 -07:00
1 parent 55b9b96c68
commit 646f56dcd3
3 files changed
+13 -1

No files matched your search

@@ -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;
@@ -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;
@@ -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 ==========