mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-11-15 01:44:06 +00:00
9 lines
251 B
MySQL
9 lines
251 B
MySQL
|
CREATE TABLE organization_api_key (
|
||
|
uuid CHAR(36) NOT NULL,
|
||
|
org_uuid CHAR(36) NOT NULL REFERENCES organizations(uuid),
|
||
|
atype INTEGER NOT NULL,
|
||
|
api_key VARCHAR(255) NOT NULL,
|
||
|
revision_date DATETIME NOT NULL,
|
||
|
PRIMARY KEY(uuid, org_uuid)
|
||
|
);
|