add: postgres support
chore: restructure
This commit is contained in:
parent
cda879f6df
commit
b6fe2fba37
58 changed files with 3403 additions and 603 deletions
10
crates/tetratto_core/src/database/mod.rs
Normal file
10
crates/tetratto_core/src/database/mod.rs
Normal file
|
@ -0,0 +1,10 @@
|
|||
mod auth;
|
||||
mod drivers;
|
||||
|
||||
use super::model::auth::{Token, User};
|
||||
|
||||
#[cfg(feature = "sqlite")]
|
||||
pub use drivers::sqlite::*;
|
||||
|
||||
#[cfg(feature = "postgres")]
|
||||
pub use drivers::postgres::*;
|
Loading…
Add table
Add a link
Reference in a new issue