pass_manager/src/entity.rs
2024-05-11 17:25:15 +03:00

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
}