12 lines
473 B
MySQL
12 lines
473 B
MySQL
|
|
CREATE TABLE IF NOT EXISTS oidc_config (
|
||
|
|
config_id String DEFAULT 'default',
|
||
|
|
enabled Bool DEFAULT false,
|
||
|
|
issuer_uri String DEFAULT '',
|
||
|
|
client_id String DEFAULT '',
|
||
|
|
client_secret String DEFAULT '',
|
||
|
|
roles_claim String DEFAULT 'realm_access.roles',
|
||
|
|
default_roles Array(LowCardinality(String)),
|
||
|
|
updated_at DateTime64(3, 'UTC') DEFAULT now64(3, 'UTC')
|
||
|
|
) ENGINE = ReplacingMergeTree(updated_at)
|
||
|
|
ORDER BY (config_id);
|