mirror of https://github.com/usbharu/Hideout.git
Merge pull request #269 from usbharu/bugfix/mastodon-notification-table
fix: 忘れていたテーブル定義を追加
This commit is contained in:
commit
cd41c2fd0e
|
@ -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
|
||||
)
|
Loading…
Reference in New Issue