Add the checkpoints schema for diesel
This commit is contained in:
parent
09c0b8d8a7
commit
baba687d1b
|
@ -0,0 +1,2 @@
|
|||
-- This file should undo anything in `up.sql`
|
||||
DROP TABLE checkpoints;
|
|
@ -0,0 +1,7 @@
|
|||
CREATE TABLE checkpoints (
|
||||
id INTEGER PRIMARY KEY,
|
||||
filepath VARCHAR NOT NULL,
|
||||
filesize INTEGER NOT NULL,
|
||||
inode INTEGER NOT NULL,
|
||||
offset_bytes INTEGER NOT NULL DEFAULT 0
|
||||
)
|
Loading…
Reference in New Issue