]> Untitled Git - lemmy.git/blob - migrations/2022-05-10-173801_change_pending_to_notnull/up.sql
Dropping default on pending column.
[lemmy.git] / migrations / 2022-05-10-173801_change_pending_to_notnull / up.sql
1 -- Make the pending column not null
2
3 update community_follower set pending = true where pending is null;
4
5 alter table community_follower
6   alter column pending set not null,
7   alter column pending drop default;
8