PluralKit/PluralKit.Core/Database/Migrations/29.sql
spiral be89f907a0
feat: block running commands / proxying when system is being deleted
Large systems take way too long to delete, which causes any insert for that system to block a connection, which exhausts the connection pool
2022-03-23 21:32:18 -04:00

5 lines
122 B
SQL

-- schema version 29
alter table systems add column is_deleting bool default false;
update info set schema_version = 29;