breaking: cache_name on records table
This commit is contained in:
parent
5a000e6b42
commit
99adbd4ea4
3 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
|||
-- Add up migration script here
|
||||
CREATE TABLE IF NOT EXISTS records (
|
||||
id INTEGER NOT NULL PRIMARY KEY,
|
||||
cache_name TEXT NOT NULL UNIQUE,
|
||||
uploaded TEXT NOT NULL DEFAULT (datetime('now')),
|
||||
file_path TEXT NOT NULL,
|
||||
downloads INTEGER NOT NULL DEFAULT 0,
|
||||
max_downloads INTEGER NOT NULL
|
||||
) STRICT;
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
INSERT INTO records (file_path, max_downloads)
|
||||
INSERT INTO records (cache_name, max_downloads)
|
||||
VALUES (?, ?);
|
||||
|
|
Loading…
Reference in a new issue