re-test
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-01-09 09:54:23 +11:00
parent dbc2276d68
commit e89182c2d9
2 changed files with 4 additions and 1 deletions

View File

@@ -103,6 +103,9 @@ steps:
- name: rebuild-cache-with-filesystem - name: rebuild-cache-with-filesystem
image: meltwater/drone-cache image: meltwater/drone-cache
pull: true pull: true
when:
event:
- tag
settings: settings:
backend: "filesystem" backend: "filesystem"
#debug: true #debug: true

View File

@@ -373,7 +373,7 @@ func CreateTables() {
FOREIGN KEY (UserId) REFERENCES users(UserId), FOREIGN KEY (UserId) REFERENCES users(UserId),
FOREIGN KEY (GroupId) REFERENCES groups(GroupId) FOREIGN KEY (GroupId) REFERENCES groups(GroupId)
); );
INSERT INTO permissions SELECT * FROM _permissions_old; INSERT INTO permissions SELECT PermissionId, SafeId, UserId, GroupId FROM _permissions_old;
ALTER TABLE permissions DROP COLUMN RoleId; ALTER TABLE permissions DROP COLUMN RoleId;
COMMIT; COMMIT;
PRAGMA foreign_keys=on; PRAGMA foreign_keys=on;