Add a Bitmagnet import action
This commit is contained in:
parent
8eda807ead
commit
d26931f4c6
15 changed files with 402 additions and 10 deletions
|
|
@ -0,0 +1 @@
|
|||
-- This file should undo anything in `up.sql`
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
CREATE TABLE bitmagnet_processed
|
||||
(
|
||||
id INTEGER PRIMARY KEY,
|
||||
magnet_id INTEGER NOT NULL,
|
||||
processed_at DATETIME NOT NULL,
|
||||
FOREIGN KEY (magnet_id) REFERENCES magnets(id)
|
||||
);
|
||||
|
||||
CREATE INDEX bitmagnet_processed_magnet_id ON bitmagnet_processed(magnet_id);
|
||||
Loading…
Add table
Add a link
Reference in a new issue