We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
collector_id
1 parent cb83551 commit 8e8a03aCopy full SHA for 8e8a03a
database/src/pool/postgres.rs
@@ -344,13 +344,18 @@ static MIGRATIONS: &[&str] = &[
344
REFERENCES benchmark_request(tag)
345
ON DELETE CASCADE,
346
347
- CONSTRAINT job_queue_unique
348
- UNIQUE (
349
- request_tag,
350
- target,
351
- backend,
352
- profile,
353
- benchmark_set
+ CONSTRAINT job_queue_collector
+ FOREIGN KEY (collector_id)
+ REFERENCES collector_config(id)
+ ON DELETE CASCADE,
+
+ CONSTRAINT job_queue_unique
+ UNIQUE (
354
+ request_tag,
355
+ target,
356
+ backend,
357
+ profile,
358
+ benchmark_set
359
)
360
);
361
CREATE INDEX IF NOT EXISTS job_queue_request_tag_idx ON job_queue (request_tag);
0 commit comments