vaultwarden/src/db/models
BlackDex 978be0b4a9 Fixed foreign-key (mariadb) errors.
When using MariaDB v10.5+ Foreign-Key errors were popping up because of
some changes in that version. To mitigate this on MariaDB and other
MySQL forks those errors are now catched, and instead of a replace_into
an update will happen. I have tested this as thorough as possible with
MariaDB 10.5, 10.4, 10.3 and the default MySQL on Ubuntu Focal. And
tested it again using sqlite, all seems to be ok on all tables.

resolves #1081. resolves #1065, resolves #1050
2020-09-22 12:13:02 +02:00
..
attachment.rs Fixed foreign-key (mariadb) errors. 2020-09-22 12:13:02 +02:00
cipher.rs Fixed foreign-key (mariadb) errors. 2020-09-22 12:13:02 +02:00
collection.rs Fixed foreign-key (mariadb) errors. 2020-09-22 12:13:02 +02:00
device.rs Add support for multiple simultaneous database features by using macros. 2020-08-24 20:11:17 +02:00
favorite.rs Delete associated favorites when deleting a cipher or user 2020-08-26 01:27:38 -07:00
folder.rs Fixed foreign-key (mariadb) errors. 2020-09-22 12:13:02 +02:00
mod.rs Delete associated favorites when deleting a cipher or user 2020-08-26 01:27:38 -07:00
org_policy.rs Fixed foreign-key (mariadb) errors. 2020-09-22 12:13:02 +02:00
organization.rs Fixed foreign-key (mariadb) errors. 2020-09-22 12:13:02 +02:00
two_factor.rs Fixed foreign-key (mariadb) errors. 2020-09-22 12:13:02 +02:00
user.rs Fixed foreign-key (mariadb) errors. 2020-09-22 12:13:02 +02:00