vaultwarden-alternativa-bit.../migrations/mysql/2022-07-21-200424_create_or.../up.sql

9 lines
251 B
MySQL
Raw Normal View History

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)
);