2024-11-15 10:54:01 -08:00
|
|
|
-- Add up migration script here
|
|
|
|
CREATE TABLE IF NOT EXISTS records (
|
2024-11-15 22:33:30 -08:00
|
|
|
id INTEGER NOT NULL PRIMARY KEY,
|
2024-11-16 05:13:28 -08:00
|
|
|
cache_name TEXT NOT NULL UNIQUE,
|
2024-11-15 22:33:30 -08:00
|
|
|
uploaded TEXT NOT NULL DEFAULT (datetime('now')),
|
2024-11-15 10:54:01 -08:00
|
|
|
downloads INTEGER NOT NULL DEFAULT 0,
|
|
|
|
max_downloads INTEGER NOT NULL
|
|
|
|
) STRICT;
|