mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
ebc769f328
The fields must be nullable because there’s a period of time between inserting a row into the database and finishing the “plan” provisioner job when the final value of the field is unknown.
8 lines
475 B
SQL
8 lines
475 B
SQL
-- The fields must be nullable because there's a period of time between
|
|
-- inserting a row into the database and finishing the "plan" provisioner job
|
|
-- when the final value of the field is unknown.
|
|
ALTER TABLE template_versions ALTER COLUMN has_ai_task DROP DEFAULT;
|
|
ALTER TABLE template_versions ALTER COLUMN has_ai_task DROP NOT NULL;
|
|
ALTER TABLE workspace_builds ALTER COLUMN has_ai_task DROP DEFAULT;
|
|
ALTER TABLE workspace_builds ALTER COLUMN has_ai_task DROP NOT NULL;
|