mirror of https://github.com/coder/coder.git
7 lines
373 B
SQL
7 lines
373 B
SQL
-- drop "min_autostart_interval" column from "templates" table
|
|
ALTER TABLE "templates" DROP COLUMN "min_autostart_interval";
|
|
|
|
-- rename "max_ttl" to "default_ttl" on "templates" table
|
|
ALTER TABLE "templates" RENAME COLUMN "max_ttl" TO "default_ttl";
|
|
COMMENT ON COLUMN templates.default_ttl IS 'The default duration for autostop for workspaces created from this template.';
|