Skip to content

Commit b8d5d1d

Browse files
fix: update testdata fixtures
1 parent 863c3dc commit b8d5d1d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

coderd/database/migrations/testdata/fixtures/000157_workspace_agent_script.up.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ INSERT INTO workspace_agent_log_sources (
1515
) ON CONFLICT DO NOTHING;
1616

1717
INSERT INTO workspace_agent_scripts (
18+
id,
1819
workspace_agent_id,
1920
created_at,
2021
log_source_id,
@@ -26,6 +27,7 @@ INSERT INTO workspace_agent_scripts (
2627
run_on_stop,
2728
timeout_seconds
2829
) VALUES (
30+
'a810e1ba-0b28-4db2-a5b6-1857ea72bf93',
2931
'45e89705-e09d-4850-bcec-f9a937f5d78d',
3032
'2022-11-02 13:03:45.046432+02',
3133
'0ff953c0-92a6-4fe6-a415-eb0139a36ad1',
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
INSERT INTO workspace_agent_script_timings (agent_id, display_name, started_at, ended_at, exit_code, ran_on_start, blocked_login)
1+
INSERT INTO workspace_agent_script_timings (script_id, display_name, started_at, ended_at, exit_code, ran_on_start, blocked_login)
22
VALUES
3-
('45e89705-e09d-4850-bcec-f9a937f5d78d', 'Startup Script', NOW() - INTERVAL '1 hour 55 minutes', NOW() - INTERVAL '1 hour 50 minutes', 0, true, false);
3+
('a810e1ba-0b28-4db2-a5b6-1857ea72bf93', 'Startup Script', NOW() - INTERVAL '1 hour 55 minutes', NOW() - INTERVAL '1 hour 50 minutes', 0, true, false);

0 commit comments

Comments
 (0)