mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 11:04:25 +00:00
15 lines
595 B
MySQL
15 lines
595 B
MySQL
|
ALTER TABLE management.users ADD COLUMN machine_name STRING, ADD COLUMN machine_description STRING, ADD COLUMN user_type STRING;
|
||
|
ALTER TABLE adminapi.users ADD COLUMN machine_name STRING, ADD COLUMN machine_description STRING, ADD COLUMN user_type STRING;
|
||
|
ALTER TABLE auth.users ADD COLUMN machine_name STRING, ADD COLUMN machine_description STRING, ADD COLUMN user_type STRING;
|
||
|
|
||
|
CREATE TABLE management.machine_keys (
|
||
|
id TEXT,
|
||
|
user_id TEXT,
|
||
|
|
||
|
machine_type SMALLINT,
|
||
|
expiration_date TIMESTAMPTZ,
|
||
|
sequence BIGINT,
|
||
|
creation_date TIMESTAMPTZ,
|
||
|
|
||
|
PRIMARY KEY (id, user_id)
|
||
|
)
|