add migration file

pull/48/head
Aevann1 2022-12-05 01:49:13 +02:00 committed by Snakes
parent cb4d941fd0
commit eb186160a5
Signed by: Snakes
GPG Key ID: E745A82778055C7E
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
alter table comments add column wall_user_id int;
alter table only comments add constraint wall_user_id_fkey foreign key (wall_user_id) references users(id);
create index fki_wall_user_id_fkey on public.comments using btree (wall_user_id);