Skip to content

Commit 1438444

Browse files
committed
feat: add columns autostart_schedule, autostop_schedule to database schema
1 parent fe23dcd commit 1438444

File tree

5 files changed

+33
-13
lines changed

5 files changed

+33
-13
lines changed

coderd/database/dump.sql

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ALTER TABLE ONLY workspaces
2+
DROP COLUMN autostart_schedule,
3+
DROP COLUMN autostop_schedule;
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ALTER TABLE ONLY workspaces
2+
ADD COLUMN autostart_schedule text DEFAULT NULL,
3+
ADD COLUMN autostop_schedule text DEFAULT NULL;

coderd/database/models.go

Lines changed: 9 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/database/queries.sql.go

Lines changed: 15 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)