mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-18 05:47:32 +00:00
28 lines
461 B
MySQL
28 lines
461 B
MySQL
|
CREATE TABLE auth.metadata (
|
||
|
aggregate_id TEXT,
|
||
|
|
||
|
key TEXT,
|
||
|
value BYTES,
|
||
|
|
||
|
resource_owner TEXT,
|
||
|
creation_date TIMESTAMPTZ,
|
||
|
change_date TIMESTAMPTZ,
|
||
|
sequence BIGINT,
|
||
|
|
||
|
PRIMARY KEY (aggregate_id, key)
|
||
|
);
|
||
|
|
||
|
CREATE TABLE management.metadata (
|
||
|
aggregate_id TEXT,
|
||
|
|
||
|
key TEXT,
|
||
|
value BYTES,
|
||
|
|
||
|
resource_owner TEXT,
|
||
|
creation_date TIMESTAMPTZ,
|
||
|
change_date TIMESTAMPTZ,
|
||
|
sequence BIGINT,
|
||
|
|
||
|
PRIMARY KEY (aggregate_id, key)
|
||
|
);
|