This commit is contained in:
@@ -374,7 +374,6 @@ func CreateTables() {
|
|||||||
FOREIGN KEY (GroupId) REFERENCES groups(GroupId)
|
FOREIGN KEY (GroupId) REFERENCES groups(GroupId)
|
||||||
);
|
);
|
||||||
INSERT INTO permissions SELECT PermissionId, SafeId, UserId, GroupId, '' AS Description, 0 as ReadOnly FROM _permissions_old;
|
INSERT INTO permissions SELECT PermissionId, SafeId, UserId, GroupId, '' AS Description, 0 as ReadOnly FROM _permissions_old;
|
||||||
ALTER TABLE permissions DROP COLUMN RoleId;
|
|
||||||
COMMIT;
|
COMMIT;
|
||||||
PRAGMA foreign_keys=on;
|
PRAGMA foreign_keys=on;
|
||||||
DROP TABLE _permissions_old;
|
DROP TABLE _permissions_old;
|
||||||
|
Reference in New Issue
Block a user