mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-02-05 05:18:30 +00:00
4219249e11
This is a WIP for adding organization token login support. It has basic token login and verification support, but that's about it. This branch is a refresh of the previous version, and will contain code from a PR based upon my previous branch.
9 lines
243 B
SQL
9 lines
243 B
SQL
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),
|
|
revision_date TIMESTAMP NOT NULL,
|
|
PRIMARY KEY(uuid, org_uuid)
|
|
);
|