1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-29 22:01:14 +03:00

Split the storage trait from the implementation

This commit is contained in:
Quentin Gliech
2023-01-18 09:53:42 +01:00
parent b33a330b5f
commit 73a921cc30
95 changed files with 6294 additions and 5741 deletions

View File

@ -14,3 +14,4 @@ tracing = "0.1.37"
sqlx = { version = "0.6.2", features = ["runtime-tokio-rustls", "postgres"] }
mas-storage = { path = "../storage" }
mas-storage-pg = { path = "../storage-pg" }

View File

@ -14,7 +14,8 @@
//! Database-related tasks
use mas_storage::{oauth2::OAuth2AccessTokenRepository, Clock, PgRepository, Repository};
use mas_storage::{oauth2::OAuth2AccessTokenRepository, Clock, Repository};
use mas_storage_pg::PgRepository;
use sqlx::{Pool, Postgres};
use tracing::{debug, error, info};