1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-23 11:02:35 +03:00

storage: wrap the postgres repository in a struct

This commit is contained in:
Quentin Gliech
2023-01-13 18:03:37 +01:00
parent 488a666a8d
commit 195203823a
44 changed files with 505 additions and 548 deletions

View File

@@ -183,7 +183,7 @@ pub(crate) mod tracing;
pub mod upstream_oauth2;
pub mod user;
pub use self::{repository::Repository, upstream_oauth2::UpstreamOAuthLinkRepository};
pub use self::repository::{PgRepository, Repository};
/// Embedded migrations, allowing them to run on startup
pub static MIGRATOR: Migrator = sqlx::migrate!();