Skip to content

Commit 7199651

Browse files
committed
Add basic migrations
1 parent f5d813c commit 7199651

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

coderd/database/migrations/000152_workspace_agent_script.down.sql

Whitespace-only changes.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
CREATE TABLE workspace_agent_log_source (
2+
workspace_agent_id uuid NOT NULL,
3+
id
4+
display_name varchar(127) NOT NULL,
5+
icon text NOT NULL,
6+
);
7+
8+
-- Set the table to unlogged to speed up the inserts
9+
ALTER TABLE workspace_agent_logs SET UNLOGGED;

0 commit comments

Comments
 (0)