This repository was archived by the owner on Sep 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
src/main/java/com/marklogic/appdeployer/command Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments