2019-10-01 23:06:51 -04:00
|
|
|
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(),
|
2019-10-02 19:47:27 -04:00
|
|
|
expiration_date TIMESTAMP WITH TIME ZONE DEFAULT NULL
|
2019-10-01 23:06:51 -04:00
|
|
|
)
|