Saddle/saddle.sql
2019-10-02 19:47:27 -04:00

8 lines
220 B
SQL

CREATE TABLE IF NOT EXISTS upload (
user_id INTEGER NOT NULL,
id TEXT PRIMARY KEY,
filename TEXT NOT NULL,
upload_date TIMESTAMP WITH TIME ZONE DEFAULT NOW(),
expiration_date TIMESTAMP WITH TIME ZONE DEFAULT NULL
)