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:
parent
ed26fa3640
commit
bdab7b49ee
3 changed files with 9 additions and 0 deletions
0
migrations/dsql/2025-01-09-172300_add_manage/down.sql
Normal file
0
migrations/dsql/2025-01-09-172300_add_manage/down.sql
Normal file
|
@ -0,0 +1 @@
|
|||
run_in_transaction = false
|
8
migrations/dsql/2025-01-09-172300_add_manage/up.sql
Normal file
8
migrations/dsql/2025-01-09-172300_add_manage/up.sql
Normal 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;
|
Loading…
Add table
Reference in a new issue