mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-09-24 21:29:02 +00:00
0365b7c6a4
Diesel requires the following changes: - Separate connection and pool types per connection, the generate_connections! macro generates an enum with a variant per db type - Separate migrations and schemas, these were always imported as one type depending on db feature, now they are all imported under different module names - Separate model objects per connection, the db_object! macro generates one object for each connection with the diesel macros, a generic object, and methods to convert between the connection-specific and the generic ones - Separate connection queries, the db_run! macro allows writing only one that gets compiled for all databases or multiple ones |
||
---|---|---|
.. | ||
attachment.rs | ||
cipher.rs | ||
collection.rs | ||
device.rs | ||
folder.rs | ||
mod.rs | ||
org_policy.rs | ||
organization.rs | ||
two_factor.rs | ||
user.rs |