Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-09-17 20:11:12 +02: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 Zeilen
296 B
SQL
9 Zeilen
296 B
SQL
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)
|
|
);
|