mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
feat: add template max_ttl (#6114)
Co-authored-by: Bruno Quaresma <bruno@coder.com>
This commit is contained in:
@ -0,0 +1,3 @@
|
||||
ALTER TABLE "workspace_builds" DROP COLUMN "max_deadline";
|
||||
|
||||
ALTER TABLE "templates" DROP COLUMN "max_ttl";
|
@ -0,0 +1,3 @@
|
||||
ALTER TABLE "templates" ADD COLUMN "max_ttl" bigint DEFAULT '0'::bigint NOT NULL;
|
||||
|
||||
ALTER TABLE "workspace_builds" ADD COLUMN "max_deadline" timestamp with time zone DEFAULT '0001-01-01 00:00:00+00'::timestamp with time zone NOT NULL;
|
Reference in New Issue
Block a user