mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-11-25 21:30:18 +00:00
9 lines
260 B
SQL
9 lines
260 B
SQL
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)
|
|
);
|