mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
feat(core): introduce accounts schema for accounts related tables (#7113)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -86,6 +86,14 @@ where
|
||||
fn get_replica_pool(&self) -> &PgPool {
|
||||
self.db_store.get_replica_pool()
|
||||
}
|
||||
|
||||
fn get_accounts_master_pool(&self) -> &PgPool {
|
||||
self.db_store.get_accounts_master_pool()
|
||||
}
|
||||
|
||||
fn get_accounts_replica_pool(&self) -> &PgPool {
|
||||
self.db_store.get_accounts_replica_pool()
|
||||
}
|
||||
}
|
||||
|
||||
impl<T: DatabaseStore> RedisConnInterface for RouterStore<T> {
|
||||
@ -203,6 +211,14 @@ where
|
||||
fn get_replica_pool(&self) -> &PgPool {
|
||||
self.router_store.get_replica_pool()
|
||||
}
|
||||
|
||||
fn get_accounts_master_pool(&self) -> &PgPool {
|
||||
self.router_store.get_accounts_master_pool()
|
||||
}
|
||||
|
||||
fn get_accounts_replica_pool(&self) -> &PgPool {
|
||||
self.router_store.get_accounts_replica_pool()
|
||||
}
|
||||
}
|
||||
|
||||
impl<T: DatabaseStore> RedisConnInterface for KVRouterStore<T> {
|
||||
|
||||
Reference in New Issue
Block a user