forked from MarseyWorld/MarseyWorld
minor bug fix
parent
6fba254510
commit
057f40469c
|
@ -1,3 +1,4 @@
|
|||
update users u set shadowbanned=(select id from users f where username=u.shadowbanned) where shadowbanned is not null;
|
||||
alter table users alter column shadowbanned type int using shadowbanned::integer;
|
||||
create index fki_user_shadowbanned_fkey on public.users using btree (shadowbanned);
|
||||
alter table only public.users add constraint user_shadowbanned_fkey foreign key (shadowbanned) references public.users(id);
|
||||
|
|
Loading…
Reference in New Issue