lemmy/migrations/2022-05-10-173801_change_pe.../up.sql

9 lines
216 B
MySQL
Raw Normal View History

-- 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;