Markus Frosch
4902f694c1
flapping: Migrate to Icinga 2.8.0 flapping properties
...
Existing property is dropped now, it never was used in director before.
refs #330
2018-01-15 10:10:33 +01:00
Thomas Gelf
c3b23a836a
schema/mysql: fix creation, migrations where fine
...
fixes #1204
2017-09-28 14:44:47 +02:00
Thomas Gelf
312c611e80
schema/pgsql: fix a couple of issues
2017-09-28 14:33:54 +02:00
Thomas Gelf
bfbbebfc58
Revert "schema: fix table order"
...
This reverts commit 1301811281
.
2017-09-28 14:28:05 +02:00
Thomas Gelf
1301811281
schema: fix table order
2017-09-28 14:21:29 +02:00
Thomas Gelf
b9aea20bab
schema/mysql: drop uniqueness on property modifiers
...
I hate doing so :-/
fixes #1187
2017-09-28 11:19:17 +02:00
Thomas Gelf
44c156041a
schema: add PostgreSQL, small fixes for MySQL
...
refs #132
2017-09-28 11:02:13 +02:00
Marc DeTrano
708edfdebc
Updates: clean code for whitespace/standards...
...
...issues as reported by Travis. Add requirement for parent and child host
fields when setting up a Dependency Object (these fields are not necessarily
needed for Templates or Apply Rules). Renamed new table field to
'parent_service_by_name'... which is a bit more descriptive or what that
field is intended for.
2017-09-28 11:01:27 +02:00
Marc DeTrano
6bea1eff41
Implement Icinga Dependency Configuration.
2017-09-28 11:01:27 +02:00
Thomas Gelf
cd2ed5cfae
schema, IcingaTemplateChoice: add columns for...
...
...upcoming features
2017-09-27 20:41:41 +02:00
Markus Frosch
4ab59ea1e3
Update foreign key constraint for import_source under PostgreSQL
...
So that import_runs will be deleted with the import_source.
fixes #1141
2017-08-30 16:40:12 +02:00
Thomas Gelf
fc9d40ceff
schema: fix object_type for eventually erraneous
...
...service_set templates
2017-08-28 06:54:20 +02:00
Thomas Gelf
69607ada3c
SyncRule: switch priority order, migrate DB
...
fixes #1077
2017-08-22 17:10:49 +02:00
Thomas Gelf
7c18c0b614
schema: unique constraint for import_row_modifier
...
...priority. Also align current priority to id to get as close as possible
to current fetch order.
2017-08-20 16:01:46 +02:00
Thomas Gelf
9542c74404
schema: forgot to raise version
2017-07-20 09:55:32 +02:00
Thomas Gelf
95769c3ee2
Modifier: add a description field
...
fixes #465
2017-07-14 14:45:25 +02:00
Thomas Gelf
2cdba2aa65
Import and Sync: add description fields
...
fixes #1018
2017-07-14 14:27:05 +02:00
Thomas Gelf
aea69c42bc
schema: fix PostgreSQL data type
2017-07-14 13:21:42 +02:00
Thomas Gelf
05d8e5bb00
Datalist: Allow to restrict entries by role
...
fixes #1012
2017-07-14 13:21:42 +02:00
Thomas Gelf
4a0e8df2f2
Host,Service: add check_timeout property
...
fixes #546
2017-07-14 13:21:42 +02:00
Thomas Gelf
303b8776a2
schema: relax choice constraint for delete
2017-07-14 13:21:42 +02:00
Thomas Gelf
69579bcaf9
schema/pgsql: add choices
2017-07-14 13:21:42 +02:00
Thomas Gelf
439a16d7b9
schema/mysql: add choices
2017-07-14 13:21:42 +02:00
Thomas Gelf
46a9b2574b
schema: add resolved hostgroup member tables
...
refs #832
2017-07-14 13:21:42 +02:00
Lee Clemens
f7d1444fd9
Permit external HostGroups
...
refs #384
fixes #748
2017-03-13 22:45:12 +01:00
Thomas Gelf
cc6a5fe230
schema/mysql: correct varname collation
...
Thanks to @jschanz for tracking this down
fixes #762
2017-02-17 14:43:00 +01:00
Thomas Gelf
334bd9f58d
schema/upgrade_104: workaround for PostgreSQL
...
refs #730
2017-01-19 12:13:17 +01:00
Thomas Gelf
e4a2e3e9fc
Revert "schema/pgsql/upgrade_104.sql: related to last..."
...
This reverts commit 17292e7680
.
2017-01-19 11:53:57 +01:00
Thomas Gelf
91c82a0e5e
Revert "schema/mysql/upgrade_104: drop invalid data..."
...
This reverts commit 402f0ed4b4
.
2017-01-19 11:53:48 +01:00
Thomas Gelf
17292e7680
schema/pgsql/upgrade_104.sql: related to last...
...
...commit
fixes #730
2017-01-19 10:36:58 +01:00
Thomas Gelf
402f0ed4b4
schema/mysql/upgrade_104: drop invalid data...
...
...before upgrading
fixes #730
2017-01-19 09:02:01 +01:00
Thomas Gelf
379e5d12ae
schema: add index on activity log author
...
fixes #687
2017-01-18 13:29:13 +01:00
Thomas Gelf
e64e4de678
mysql-migrations/upgrade_126: one more weird...
...
...index bound to die
fixes #13859
2017-01-03 17:09:34 +01:00
Thomas Gelf
ee5ca2f33e
schema/upgrade_127: avoid problems with utf8mb4
2016-12-16 14:27:39 +01:00
Thomas Gelf
07b6090c31
schema: add variable cache/lookup tables
...
refs #13068
2016-12-15 19:45:22 +01:00
Thomas Gelf
e4525a09df
upgrade_126: re-order queries
...
...otherwise we might delete indexes before the related constraint in case
they are different
refs #13591
2016-12-15 16:21:49 +01:00
Thomas Gelf
2918ef555e
schema: fix lost/diverged foreign keys
...
fixes #13591
2016-12-15 15:51:48 +01:00
Thomas Gelf
4f8f79557b
schema: provide migration for conditional fields
...
fixes #13253
2016-12-14 17:41:15 +01:00
Thomas Gelf
4eae20d0c4
schema: add var_filter column to field tables
2016-12-14 16:36:33 +01:00
Thomas Gelf
d2bd133d51
schema: allow to delete service sets...
...
...containing services and also hosts using service sets without requiring one
to manually remove all assigned sets first
fixes #13531
2016-12-14 15:29:44 +01:00
Thomas Gelf
52f0fc9177
schema: fix cleanup in recent service_set migration
...
fixes #13401
2016-12-07 09:48:52 +01:00
Markus Frosch
64284ee96a
Add schema migration for ServiceSet foreign keys
...
This will clean up dangling service_set for non-existing host and service for service_set
refs #13309
2016-11-28 16:46:47 +01:00
Thomas Gelf
92bb24b414
schema: add cnt_apply column
2016-11-03 13:25:32 +01:00
Thomas Gelf
3f7a184d2f
schema: get rid of service_set_service, introduce
...
...a service_set_id column directly on the service
2016-10-25 23:12:23 +00:00
Thomas Gelf
47cd8cdc89
schema: add assign_type migrations for pgsql...
...
...and complete them for mysql
2016-10-25 02:00:50 +00:00
Thomas Gelf
3ff6fd5211
schema/mysql: migrate all remaining assignments
2016-10-24 03:19:18 +00:00
Thomas Gelf
9d8cc13dca
schema/mysql: use higher migration number
2016-10-22 16:16:23 +00:00
Thomas Gelf
78a380811f
schema/mysql: simplify apply rules
2016-10-22 07:02:09 +00:00
Geneviève Plantin
b00d3b4943
Change version of migration
2016-10-22 06:08:33 +00:00
Geneviève Plantin
b2bdeac360
Change version of DB
2016-10-22 06:08:24 +00:00