Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit f29685f

Browse files
Dermot SmythDermot Smyth
authored andcommitted
reset to commit
1 parent 2a2b281 commit f29685f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/main/java/com/marklogic/appdeployer/command/SortOrderConstants.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ public abstract class SortOrderConstants {
6666
public static Integer DELETE_CERTIFICATE_AUTHORITIES = 9020;
6767
public static Integer DELETE_EXTERNAL_SECURITY = 9030;
6868
public static Integer DELETE_PROTECTED_COLLECTIONS = 9040;
69-
// Amps can reference roles, so must delete amps first
70-
public static Integer DELETE_AMPS = 9050;
69+
7170
// Roles can reference privileges, so must delete roles first
7271
public static Integer DELETE_ROLES = 9060;
7372
public static Integer DELETE_PRIVILEGES = 9070;
@@ -86,5 +85,9 @@ public abstract class SortOrderConstants {
8685
public static Integer DELETE_REST_API_SERVERS = 7000;
8786
public static Integer DELETE_OTHER_SERVERS = 7010;
8887

89-
public static Integer DELETE_SCHEDULED_TASKS = 1000;
88+
// Amps can reference roles and databases, so must delete amps before both (and before deleting REST API servers
89+
// too, which may delete databases)
90+
public static Integer DELETE_AMPS = 2000;
91+
92+
public static Integer DELETE_SCHEDULED_TASKS = 1000;
9093
}

0 commit comments

Comments
 (0)