From 7362d20565d19d3b955b69d4eb3708b636d5fa9e Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Sat, 24 Aug 2024 12:04:47 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B5=B7=E5=8B=95=E3=81=97=E3=81=AA?= =?UTF-8?q?=E3=81=8B=E3=81=A3=E3=81=9F=E3=81=AE=E3=81=A7=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/db/migration/V1__Init_DB.sql | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hideout-core/src/main/resources/db/migration/V1__Init_DB.sql b/hideout-core/src/main/resources/db/migration/V1__Init_DB.sql index dd9dfa5c..6ce43568 100644 --- a/hideout-core/src/main/resources/db/migration/V1__Init_DB.sql +++ b/hideout-core/src/main/resources/db/migration/V1__Init_DB.sql @@ -101,10 +101,12 @@ create table if not exists media url varchar(255) not null unique, remote_url varchar(255) null unique, thumbnail_url varchar(255) null unique, - "type" varchar(100) not null, + "type" varchar(100) not null, blurhash varchar(255) null, mime_type varchar(255) not null, - description varchar(4000) null + description varchar(4000) null, + actor_id bigint not null, + constraint fk_media_actor_id__id foreign key (actor_id) references actors (id) on delete restrict on update restrict ); alter table actors