mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
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.
5 lines
284 B
SQL
5 lines
284 B
SQL
ALTER TABLE template_versions ALTER COLUMN has_ai_task SET DEFAULT false;
|
|
ALTER TABLE template_versions ALTER COLUMN has_ai_task SET NOT NULL;
|
|
ALTER TABLE workspace_builds ALTER COLUMN has_ai_task SET DEFAULT false;
|
|
ALTER TABLE workspace_builds ALTER COLUMN has_ai_task SET NOT NULL;
|