mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-11-14 14:02:23 +01:00
10 lines
258 B
MySQL
10 lines
258 B
MySQL
|
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)
|
||
|
);
|