mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-18 05:47:32 +00:00
22 lines
462 B
MySQL
22 lines
462 B
MySQL
|
CREATE TABLE auth.refresh_tokens (
|
||
|
id TEXT,
|
||
|
|
||
|
creation_date TIMESTAMPTZ,
|
||
|
change_date TIMESTAMPTZ,
|
||
|
|
||
|
resource_owner TEXT,
|
||
|
token TEXT,
|
||
|
client_id TEXT,
|
||
|
user_agent_id TEXT,
|
||
|
user_id TEXT,
|
||
|
auth_time TIMESTAMPTZ,
|
||
|
idle_expiration TIMESTAMPTZ,
|
||
|
expiration TIMESTAMPTZ,
|
||
|
sequence BIGINT,
|
||
|
scopes TEXT ARRAY,
|
||
|
audience TEXT ARRAY,
|
||
|
amr TEXT ARRAY,
|
||
|
|
||
|
PRIMARY KEY (client_id, user_agent_id, user_id)
|
||
|
);
|