mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-11-22 15:16:46 +01:00
10 lines
296 B
MySQL
10 lines
296 B
MySQL
|
CREATE TABLE organization_api_key (
|
||
|
uuid TEXT NOT NULL,
|
||
|
org_uuid TEXT NOT NULL,
|
||
|
atype INTEGER NOT NULL,
|
||
|
api_key TEXT NOT NULL,
|
||
|
revision_date DATETIME NOT NULL,
|
||
|
PRIMARY KEY(uuid, org_uuid),
|
||
|
FOREIGN KEY(org_uuid) REFERENCES organizations(uuid)
|
||
|
);
|