mirror of https://github.com/LemmyNet/lemmy.git
9 lines
216 B
MySQL
9 lines
216 B
MySQL
|
-- 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;
|
||
|
|