mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 11:24:45 +08:00
feat(router): add organization_id in authentication table and add it in authentication events (#7168)
This commit is contained in:
committed by
GitHub
parent
9b1b245564
commit
f2117542a7
@ -35,6 +35,7 @@ CREATE TABLE authentication_queue (
|
||||
`ds_trans_id` Nullable(String),
|
||||
`directory_server_id` Nullable(String),
|
||||
`acquirer_country_code` Nullable(String),
|
||||
`organization_id` String,
|
||||
`sign_flag` Int8
|
||||
) ENGINE = Kafka SETTINGS kafka_broker_list = 'kafka0:29092',
|
||||
kafka_topic_list = 'hyperswitch-authentication-events',
|
||||
@ -80,6 +81,7 @@ CREATE TABLE authentications (
|
||||
`ds_trans_id` Nullable(String),
|
||||
`directory_server_id` Nullable(String),
|
||||
`acquirer_country_code` Nullable(String),
|
||||
`organization_id` String,
|
||||
`sign_flag` Int8,
|
||||
INDEX authenticationConnectorIndex authentication_connector TYPE bloom_filter GRANULARITY 1,
|
||||
INDEX transStatusIndex trans_status TYPE bloom_filter GRANULARITY 1,
|
||||
@ -127,6 +129,7 @@ CREATE MATERIALIZED VIEW authentication_mv TO authentications (
|
||||
`ds_trans_id` Nullable(String),
|
||||
`directory_server_id` Nullable(String),
|
||||
`acquirer_country_code` Nullable(String),
|
||||
`organization_id` String,
|
||||
`sign_flag` Int8
|
||||
) AS
|
||||
SELECT
|
||||
@ -167,6 +170,7 @@ SELECT
|
||||
ds_trans_id,
|
||||
directory_server_id,
|
||||
acquirer_country_code,
|
||||
organization_id,
|
||||
sign_flag
|
||||
FROM
|
||||
authentication_queue
|
||||
|
||||
Reference in New Issue
Block a user