fix: 忘れていたテーブル定義を追加

This commit is contained in:
usbharu 2024-01-30 23:51:51 +09:00
parent 98e47cbfe0
commit 44da988141
1 changed files with 32 additions and 20 deletions

View File

@ -269,4 +269,16 @@ create table if not exists notifications
constraint fk_notifications_source_actor__id foreign key (source_actor_id) references actors (id) on delete cascade on update cascade,
constraint fk_notifications_post_id__id foreign key (post_id) references posts (id) on delete cascade on update cascade,
constraint fk_notifications_reaction_id__id foreign key (reaction_id) references reactions (id) on delete cascade on update cascade
);
create table if not exists mastodon_notifications
(
id bigint primary key,
user_id bigint not null,
type varchar(100) not null,
created_at timestamp not null,
account_id bigint not null,
status_id bigint null,
report_id bigint null,
relationship_serverance_event_id bigint null
)