diff --git a/PluralKit.Core/Database/Migrations/10.sql b/PluralKit.Core/Database/Migrations/10.sql index d2c4e174..f6b966f4 100644 --- a/PluralKit.Core/Database/Migrations/10.sql +++ b/PluralKit.Core/Database/Migrations/10.sql @@ -5,7 +5,7 @@ alter table systems add column member_limit_override smallint default null; alter table systems add column group_limit_override smallint default null; -- Lowering global limit to 1000 in this commit, so increase it for systems already above that -update systems s set member_count_override = 1500 +update systems s set member_limit_override = 1500 where (select count(*) from members m where m.system = s.id) > 1000; update info set schema_version = 10; \ No newline at end of file