mirror of
https://github.com/zitadel/zitadel.git
synced 2025-02-25 18:55:27 -06:00
14 lines
298 B
SQL
14 lines
298 B
SQL
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; |