mirror of
https://github.com/coder/coder.git
synced 2025-07-18 14:17:22 +00:00
refactor: workspace autostop_schedule -> ttl (#1578)
Co-authored-by: G r e y <grey@coder.com>
This commit is contained in:
2
coderd/database/migrations/000013_autostop_ttl.down.sql
Normal file
2
coderd/database/migrations/000013_autostop_ttl.down.sql
Normal file
@ -0,0 +1,2 @@
|
||||
ALTER TABLE ONLY workspaces DROP COLUMN ttl;
|
||||
ALTER TABLE ONLY workspaces ADD COLUMN autostop_schedule text DEFAULT NULL;
|
2
coderd/database/migrations/000013_autostop_ttl.up.sql
Normal file
2
coderd/database/migrations/000013_autostop_ttl.up.sql
Normal file
@ -0,0 +1,2 @@
|
||||
ALTER TABLE ONLY workspaces DROP COLUMN autostop_schedule;
|
||||
ALTER TABLE ONLY workspaces ADD COLUMN ttl BIGINT DEFAULT NULL;
|
Reference in New Issue
Block a user