9 lines
271 B
MySQL
9 lines
271 B
MySQL
|
-- Add up migration script here
|
||
|
CREATE TABLE IF NOT EXISTS records (
|
||
|
id INTEGER PRIMARY KEY,
|
||
|
uploaded TEXT NOT NULL,
|
||
|
file_path TEXT NOT NULL,
|
||
|
downloads INTEGER NOT NULL DEFAULT 0,
|
||
|
max_downloads INTEGER NOT NULL
|
||
|
) STRICT;
|