mirror of https://github.com/LemmyNet/lemmy
Making community_follower.pending column not null.
parent
763dc9668c
commit
d4ee171b08
@ -0,0 +1,5 @@
|
||||
-- This file should undo anything in `up.sql`
|
||||
|
||||
alter table community_follower
|
||||
alter column pending drop not null,
|
||||
alter column pending set default false;
|
@ -0,0 +1,8 @@
|
||||
-- Make the pending column not null
|
||||
|
||||
update community_follower set pending = true where pending is null;
|
||||
|
||||
alter table community_follower
|
||||
alter column pending set not null,
|
||||
alter column pending set default true;
|
||||
|
Loading…
Reference in New Issue