chore: format SQL files and check on CI

This commit is contained in:
Marc Plano-Lesay 2025-05-04 23:09:22 +10:00
parent ed13d54ba1
commit cb4282870f
Signed by: kernald
GPG key ID: 66A41B08CC62A6CF
11 changed files with 99 additions and 54 deletions

View file

@ -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);