mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-26 11:19:16 +02:00
parent
1815ef1521
commit
69607ada3c
@ -358,7 +358,7 @@ class SyncRule extends DbObject
|
||||
$db->select()
|
||||
->from('sync_property')
|
||||
->where('rule_id = ?', $this->get('id'))
|
||||
->order('priority DESC')
|
||||
->order('priority ASC')
|
||||
);
|
||||
}
|
||||
}
|
||||
|
5
schema/mysql-migrations/upgrade_140.sql
Normal file
5
schema/mysql-migrations/upgrade_140.sql
Normal file
@ -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
|
||||
(schema_version, migration_time)
|
||||
VALUES (139, NOW());
|
||||
VALUES (140, NOW());
|
||||
|
5
schema/pgsql-migrations/upgrade_140.sql
Normal file
5
schema/pgsql-migrations/upgrade_140.sql
Normal file
@ -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
|
||||
(schema_version, migration_time)
|
||||
VALUES (139, NOW());
|
||||
VALUES (140, NOW());
|
||||
|
Loading…
x
Reference in New Issue
Block a user