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

storage: simplify the paginated queries

This commit is contained in:
Quentin Gliech
2023-01-17 15:09:53 +01:00
parent 62be962c4e
commit 0d02864589
11 changed files with 207 additions and 178 deletions

View File

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