mirror of https://github.com/usbharu/Hideout.git
fix: 不要なカラムを削除
This commit is contained in:
parent
43033b6f4b
commit
2d84ad073f
|
@ -98,8 +98,7 @@ create table if not exists posts
|
||||||
reply_id bigint null,
|
reply_id bigint null,
|
||||||
"sensitive" boolean default false not null,
|
"sensitive" boolean default false not null,
|
||||||
ap_id varchar(100) not null unique,
|
ap_id varchar(100) not null unique,
|
||||||
deleted boolean default false not null,
|
deleted boolean default false not null
|
||||||
emojis varchar(3000) not null default ''
|
|
||||||
);
|
);
|
||||||
alter table posts
|
alter table posts
|
||||||
add constraint fk_posts_actor_id__id foreign key (actor_id) references actors (id) on delete restrict on update restrict;
|
add constraint fk_posts_actor_id__id foreign key (actor_id) references actors (id) on delete restrict on update restrict;
|
||||||
|
|
Loading…
Reference in New Issue