12 lines
350 B
Rust
12 lines
350 B
Rust
// This is fine, because all errors can only be caused by the database errors and the docs would get repetative very quickly
|
|
|
|
pub mod account;
|
|
pub mod locale;
|
|
pub mod master_pass;
|
|
|
|
pub use sqlx::{mysql::MySqlPool as Pool, Result};
|
|
|
|
pub async fn migrate(pool: &Pool) -> Result<(), sqlx::migrate::MigrateError> {
|
|
sqlx::migrate!().run(pool).await
|
|
}
|