Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 40e9c87

Browse files
committed
feat: Add new migrations
1 parent 8afdf24 commit 40e9c87

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ALTER TABLE workspace_agent DROP COLUMN state;
2+
3+
DROP TYPE workspace_agent_state;
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
CREATE TYPE workspace_agent_state AS ENUM ('starting', 'start_timeout', 'start_error', 'ready');
2+
3+
ALTER TABLE workspace_agents ADD COLUMN state workspace_agent_state NULL DEFAULT NULL;
4+
5+
COMMENT ON COLUMN workspace_agents.state IS 'The current state of the workspace agent.';

0 commit comments

Comments
 (0)