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:
Hrithikesh
2025-02-14 18:11:06 +05:30
committed by GitHub
parent 0b972e38ab
commit 0ba4ccfc8b
26 changed files with 308 additions and 56 deletions

View File

@ -146,6 +146,7 @@ impl<'de> Deserialize<'de> for TenantConfig {
struct Inner {
base_url: String,
schema: String,
accounts_schema: String,
redis_key_prefix: String,
clickhouse_database: String,
}
@ -162,6 +163,7 @@ impl<'de> Deserialize<'de> for TenantConfig {
tenant_id: key,
base_url: value.base_url,
schema: value.schema,
accounts_schema: value.accounts_schema,
redis_key_prefix: value.redis_key_prefix,
clickhouse_database: value.clickhouse_database,
},
@ -177,6 +179,7 @@ pub struct Tenant {
pub tenant_id: id_type::TenantId,
pub base_url: String,
pub schema: String,
pub accounts_schema: String,
pub redis_key_prefix: String,
pub clickhouse_database: String,
}