mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 11:04:25 +00:00
14 lines
298 B
MySQL
14 lines
298 B
MySQL
|
CREATE TABLE auth.machine_keys (
|
||
|
id TEXT,
|
||
|
user_id TEXT,
|
||
|
|
||
|
machine_type SMALLINT,
|
||
|
expiration_date TIMESTAMPTZ,
|
||
|
sequence BIGINT,
|
||
|
creation_date TIMESTAMPTZ,
|
||
|
public_key JSONB,
|
||
|
|
||
|
PRIMARY KEY (id, user_id)
|
||
|
);
|
||
|
|
||
|
ALTER TABLE management.machine_keys ADD COLUMN public_key JSONB;
|