Commit faf9621a authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Update 1-schema.sql

parent 936aac28
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ CREATE TABLE user_role (
                           is_default SMALLINT NOT NULL DEFAULT 0,
                           parent_id BIGINT DEFAULT NULL,
                           ldap_filter varchar(255) DEFAULT NULL,
                           accessible_exterieur BOOLEAN NOT NULL DEFAULT true,
                           FOREIGN KEY (parent_id) REFERENCES user_role (id) ON DELETE SET NULL
);
CREATE UNIQUE INDEX user_role_roleid_unique ON user_role (role_id);