1
0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2024-11-13 22:43:14 +01:00
Vaultwarden/migrations/sqlite/2020-03-13-205045_add_policy_table/up.sql
2020-03-14 13:32:28 +01:00

10 lines
258 B
SQL

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