From 375004b8ec424cf084f981a6bb313f7157c4bd3e Mon Sep 17 00:00:00 2001 From: Tigor Hutasuhut Date: Tue, 9 Apr 2024 22:50:56 +0700 Subject: [PATCH] migrations: update images table to include post_url and poster_url --- db/migrations/20240409222145_create_images_table.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db/migrations/20240409222145_create_images_table.sql b/db/migrations/20240409222145_create_images_table.sql index 238467d..41a0f84 100644 --- a/db/migrations/20240409222145_create_images_table.sql +++ b/db/migrations/20240409222145_create_images_table.sql @@ -6,7 +6,9 @@ CREATE TABLE images( device_id INTEGER NOT NULL, title VARCHAR(255) NOT NULL, post_id VARCHAR(50) NOT NULL, + post_url VARCHAR(255) NOT NULL, poster VARCHAR(50) NOT NULL, + poster_url VARCHAR(255) NOT NULL, image_relative_path VARCHAR(255) NOT NULL, thumbnail_relative_path VARCHAR(255) NOT NULL DEFAULT '', image_original_url VARCHAR(255) NOT NULL,