8 lines
192 B
SQL
8 lines
192 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
|
|
)
|