db: add upload_date field to media table

This commit is contained in:
Lucas 2023-02-18 17:06:00 +00:00
parent 63368ba06e
commit deb082f46c
2 changed files with 11 additions and 3 deletions

View file

@ -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(