0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-04-01 02:42:49 -05:00

Copy add_manage migration for DSQL

This commit is contained in:
Chase Douglas 2025-02-13 11:54:43 -08:00
parent ed26fa3640
commit bdab7b49ee
3 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1 @@
run_in_transaction = false

View file

@ -0,0 +1,8 @@
-- DSQL preview can't add columns with constraints, dropping `NOT NULL DEFAULT FALSE` constraint
-- It appears Diesel will ensure the column has appropriate values when saving records.
ALTER TABLE users_collections
ADD COLUMN manage BOOLEAN;
ALTER TABLE collections_groups
ADD COLUMN manage BOOLEAN;