1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-05-23 12:03:58 +00:00

Initial version of policies

This commit is contained in:
Daniel García 2020-03-14 13:22:30 +01:00
parent 70f3ab8ec3
commit 3fa78e7bb1
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A
15 changed files with 296 additions and 23 deletions

View file

@ -0,0 +1,9 @@
CREATE TABLE org_policies (
uuid TEXT NOT NULL PRIMARY KEY,
org_uuid TEXT NOT NULL REFERENCES organizations (uuid),
atype INTEGER NOT NULL,
enabled BOOLEAN NOT NULL,
data TEXT NOT NULL,
UNIQUE (org_uuid, atype)
);