mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-12-29 08:33:23 -05:00
10 lines
260 B
MySQL
10 lines
260 B
MySQL
|
CREATE TABLE org_policies (
|
||
|
uuid CHAR(36) NOT NULL PRIMARY KEY,
|
||
|
org_uuid CHAR(36) NOT NULL REFERENCES organizations (uuid),
|
||
|
atype INTEGER NOT NULL,
|
||
|
enabled BOOLEAN NOT NULL,
|
||
|
data TEXT NOT NULL,
|
||
|
|
||
|
UNIQUE (org_uuid, atype)
|
||
|
);
|