db: add upload_date field to media table
This commit is contained in:
parent
63368ba06e
commit
deb082f46c
2 changed files with 11 additions and 3 deletions
|
@ -33,7 +33,8 @@ CREATE TABLE IF NOT EXISTS media(
|
|||
media_id INTEGER PRIMARY KEY,
|
||||
content BLOB (10485760) NOT NULL,
|
||||
filename TEXT (255) NOT NULL,
|
||||
content_type TEXT (255)
|
||||
content_type TEXT (255),
|
||||
upload_date INTEGER
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS tags(
|
||||
|
|
Reference in a new issue