mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 21:07:58 +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:
@ -1,4 +1,4 @@
|
||||
use common_utils::DbConnectionParams;
|
||||
use common_utils::{id_type, DbConnectionParams};
|
||||
use masking::Secret;
|
||||
|
||||
#[derive(Debug, Clone, serde::Deserialize)]
|
||||
@ -34,7 +34,9 @@ impl DbConnectionParams for Database {
|
||||
}
|
||||
|
||||
pub trait TenantConfig: Send + Sync {
|
||||
fn get_tenant_id(&self) -> &id_type::TenantId;
|
||||
fn get_schema(&self) -> &str;
|
||||
fn get_accounts_schema(&self) -> &str;
|
||||
fn get_redis_key_prefix(&self) -> &str;
|
||||
fn get_clickhouse_database(&self) -> &str;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user