0
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden synced 2024-06-09 23:48:56 +02:00
bitwarden_rs/migrations/postgresql/2024-01-12-210182_change_attachment_size/up.sql
Daniel García edf7484a70
Improve file limit handling (#4242)
* Improve file limit handling

* Oops

* Update PostgreSQL migration

* Review comments

---------

Co-authored-by: BlackDex <black.dex@gmail.com>
2024-01-27 02:43:26 +01:00

4 lines
97 B
SQL

ALTER TABLE attachments
ALTER COLUMN file_size TYPE BIGINT,
ALTER COLUMN file_size SET NOT NULL;