8 lines
313 B
SQL
8 lines
313 B
SQL
-- 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')),
|
|
downloads INTEGER NOT NULL DEFAULT 0,
|
|
max_downloads INTEGER NOT NULL
|
|
) STRICT;
|