migrations: update images table to include post_url and poster_url

This commit is contained in:
Tigor Hutasuhut 2024-04-09 22:50:56 +07:00
parent ba35d7329f
commit 375004b8ec

View file

@ -6,7 +6,9 @@ CREATE TABLE images(
device_id INTEGER NOT NULL, device_id INTEGER NOT NULL,
title VARCHAR(255) NOT NULL, title VARCHAR(255) NOT NULL,
post_id VARCHAR(50) NOT NULL, post_id VARCHAR(50) NOT NULL,
post_url VARCHAR(255) NOT NULL,
poster VARCHAR(50) NOT NULL, poster VARCHAR(50) NOT NULL,
poster_url VARCHAR(255) NOT NULL,
image_relative_path VARCHAR(255) NOT NULL, image_relative_path VARCHAR(255) NOT NULL,
thumbnail_relative_path VARCHAR(255) NOT NULL DEFAULT '', thumbnail_relative_path VARCHAR(255) NOT NULL DEFAULT '',
image_original_url VARCHAR(255) NOT NULL, image_original_url VARCHAR(255) NOT NULL,