bitwarden_rs/src/db/models
Daniel García 0365b7c6a4
Add support for multiple simultaneous database features by using macros.
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
2020-08-24 20:11:17 +02:00
..
attachment.rs Add support for multiple simultaneous database features by using macros. 2020-08-24 20:11:17 +02:00
cipher.rs Add support for multiple simultaneous database features by using macros. 2020-08-24 20:11:17 +02:00
collection.rs Add support for multiple simultaneous database features by using macros. 2020-08-24 20:11:17 +02:00
device.rs Add support for multiple simultaneous database features by using macros. 2020-08-24 20:11:17 +02:00
folder.rs Add support for multiple simultaneous database features by using macros. 2020-08-24 20:11:17 +02:00
mod.rs Initial version of policies 2020-03-14 13:32:28 +01:00
org_policy.rs Add support for multiple simultaneous database features by using macros. 2020-08-24 20:11:17 +02:00
organization.rs Add support for multiple simultaneous database features by using macros. 2020-08-24 20:11:17 +02:00
two_factor.rs Add support for multiple simultaneous database features by using macros. 2020-08-24 20:11:17 +02:00
user.rs Add support for multiple simultaneous database features by using macros. 2020-08-24 20:11:17 +02:00