Insert new commits into the queue
This commit is contained in:
parent
553a56bb12
commit
4f11b9c912
10 changed files with 128 additions and 14 deletions
7
migrations/20230806143356_queue.sql
Normal file
7
migrations/20230806143356_queue.sql
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
CREATE TABLE queue (
|
||||
id TEXT NOT NULL PRIMARY KEY,
|
||||
hash TEXT NOT NULL,
|
||||
date TEXT NOT NULL,
|
||||
priority INT NOT NULL DEFAULT 0,
|
||||
FOREIGN KEY (hash) REFERENCES commits (hash) ON DELETE CASCADE
|
||||
) STRICT;
|
||||
Loading…
Add table
Add a link
Reference in a new issue