Skip to content

Commit 9418abd

Browse files
committed
fix migration indentation
1 parent 5615e27 commit 9418abd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

coderd/database/migrations/000150_workspace_app_stats.up.sql

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
CREATE TABLE workspace_app_stats (
2-
id BIGSERIAL PRIMARY KEY,
3-
user_id uuid NOT NULL REFERENCES users (id),
2+
id BIGSERIAL PRIMARY KEY,
3+
user_id uuid NOT NULL REFERENCES users (id),
44
workspace_id uuid NOT NULL REFERENCES workspaces (id),
5-
agent_id uuid NOT NULL REFERENCES workspace_agents (id),
5+
agent_id uuid NOT NULL REFERENCES workspace_agents (id),
66
access_method text NOT NULL,
77
slug_or_port text NOT NULL,
88
session_id uuid NOT NULL,
9-
session_started_at timestamptz NOT NULL,
10-
session_ended_at timestamptz NOT NULL,
9+
session_started_at timestamptz NOT NULL,
10+
session_ended_at timestamptz NOT NULL,
1111
requests integer NOT NULL,
1212

1313
-- Set a unique constraint to allow upserting the session_ended_at

0 commit comments

Comments
 (0)