vaultwarden-alternativa-bit.../migrations/sqlite/2020-03-13-205045_add_polic.../up.sql

10 lines
258 B
MySQL
Raw Normal View History

2020-03-14 13:22:30 +01:00
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)
);