added database crate, "settings" with migrations and queries, running migrations on web startup

This commit is contained in:
Philippe Loctaux 2023-02-27 16:07:18 +01:00
parent f60eb616d3
commit 9c2b43ec3c
16 changed files with 357 additions and 1 deletions

View file

@ -0,0 +1,11 @@
pub(crate) mod error;
mod tables;
/// Re-export sqlx
pub use sqlx;
/// Error
pub use self::error::Error;
/// Export tables
pub use self::tables::*;