File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -268,5 +268,5 @@ sqlite> SELECT * FROM collector_config;
268
268
269
269
id target date_added last_heartbeat_at benchmark_set is_active
270
270
--------- ------------------------- ------------- ---------------- --------- -------
271
- ea1f4e... aarch64-unknown-linux-gnu 2025-06-11... 2025-06-12 17... cea1bc... 0
271
+ 1 aarch64-unknown-linux-gnu 2025-06-11... 2025-06-12 17... 2 0
272
272
```
Original file line number Diff line number Diff line change @@ -301,14 +301,14 @@ static MIGRATIONS: &[&str] = &[
301
301
);
302
302
CREATE INDEX IF NOT EXISTS benchmark_request_status_idx on benchmark_request (status) WHERE status != 'completed';
303
303
"# ,
304
- r#"CREATE EXTENSION IF NOT EXISTS "uuid-ossp";"# ,
305
304
r#"
306
305
CREATE TABLE IF NOT EXISTS collector_config (
307
- id UUID PRIMARY KEY,
306
+ id SERIAL PRIMARY KEY,
308
307
target TEXT NOT NULL,
308
+ name TEXT NOT NULL,
309
309
date_added TIMESTAMPTZ DEFAULT NOW() NOT NULL,
310
310
last_heartbeat_at TIMESTAMPTZ,
311
- benchmark_set UUID NOT NULL,
311
+ benchmark_set INTEGER NOT NULL,
312
312
is_active BOOLEAN DEFAULT FALSE NOT NULL
313
313
);
314
314
"# ,
Original file line number Diff line number Diff line change @@ -407,11 +407,12 @@ static MIGRATIONS: &[Migration] = &[
407
407
Migration :: without_foreign_key_constraints (
408
408
r#"
409
409
CREATE TABLE IF NOT EXISTS collector_config (
410
- id TEXT PRIMARY KEY,
410
+ id INTEGER AUTO INCREMENT PRIMARY KEY,
411
411
target TEXT NOT NULL,
412
+ name TEXT NOT NULL,
412
413
date_added TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL,
413
414
last_heartbeat_at TIMESTAMP,
414
- benchmark_set TEXT NOT NULL,
415
+ benchmark_set INTEGER NOT NULL,
415
416
is_active BOOLEAN DEFAULT FALSE NOT NULL
416
417
);
417
418
"# ,
You can’t perform that action at this time.
0 commit comments