chore: format SQL files and check on CI
This commit is contained in:
parent
ed13d54ba1
commit
cb4282870f
11 changed files with 99 additions and 54 deletions
|
|
@ -1,9 +1,9 @@
|
|||
CREATE TABLE bitmagnet_processed
|
||||
(
|
||||
id INTEGER PRIMARY KEY,
|
||||
magnet_id INTEGER NOT NULL,
|
||||
id INTEGER PRIMARY KEY,
|
||||
magnet_id INTEGER NOT NULL,
|
||||
processed_at DATETIME NOT NULL,
|
||||
FOREIGN KEY (magnet_id) REFERENCES magnets(id)
|
||||
FOREIGN KEY (magnet_id) REFERENCES magnets (id)
|
||||
);
|
||||
|
||||
CREATE INDEX bitmagnet_processed_magnet_id ON bitmagnet_processed(magnet_id);
|
||||
CREATE INDEX bitmagnet_processed_magnet_id ON bitmagnet_processed (magnet_id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue