mirror of
https://github.com/usbharu/Hideout.git
synced 2026-09-26 15:01:09 +00:00
feat: テーブル定義を追加
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
create table if not exists blocks
|
||||
(
|
||||
id bigserial primary key,
|
||||
user_id bigint not null,
|
||||
target bigint not null,
|
||||
constraint fk_blocks_user_id__id foreign key (user_id) references users (id) on delete restrict on update restrict,
|
||||
constraint fk_blocks_target_id__id foreign key (target) references users (id) on delete restrict on update restrict
|
||||
);
|
||||
Reference in New Issue
Block a user