parent
1815ef1521
commit
69607ada3c
|
@ -358,7 +358,7 @@ class SyncRule extends DbObject
|
||||||
$db->select()
|
$db->select()
|
||||||
->from('sync_property')
|
->from('sync_property')
|
||||||
->where('rule_id = ?', $this->get('id'))
|
->where('rule_id = ?', $this->get('id'))
|
||||||
->order('priority DESC')
|
->order('priority ASC')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
UPDATE sync_property SET priority = 10000 - priority;
|
||||||
|
|
||||||
|
INSERT INTO director_schema_migration
|
||||||
|
(schema_version, migration_time)
|
||||||
|
VALUES (140, NOW());
|
|
@ -1563,4 +1563,4 @@ CREATE TABLE icinga_user_resolved_var (
|
||||||
|
|
||||||
INSERT INTO director_schema_migration
|
INSERT INTO director_schema_migration
|
||||||
(schema_version, migration_time)
|
(schema_version, migration_time)
|
||||||
VALUES (139, NOW());
|
VALUES (140, NOW());
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
UPDATE sync_property SET priority = 10000 - priority;
|
||||||
|
|
||||||
|
INSERT INTO director_schema_migration
|
||||||
|
(schema_version, migration_time)
|
||||||
|
VALUES (140, NOW());
|
|
@ -1841,4 +1841,4 @@ CREATE INDEX user_resolved_var_schecksum ON icinga_user_resolved_var (checksum);
|
||||||
|
|
||||||
INSERT INTO director_schema_migration
|
INSERT INTO director_schema_migration
|
||||||
(schema_version, migration_time)
|
(schema_version, migration_time)
|
||||||
VALUES (139, NOW());
|
VALUES (140, NOW());
|
||||||
|
|
Loading…
Reference in New Issue