Thomas Gelf
c12a6baeea
Sync: implement update-only policy
...
fixes #2059
2020-01-17 09:01:25 +01:00
Thomas Gelf
8edddeef40
schema/pgsql: allow for ports > 32767
...
fixes #928
2019-10-14 17:41:16 +02:00
Thomas Gelf
9f7efeeb61
schema: add postgresql, add migration number
2019-10-02 09:53:15 +02:00
Thomas Gelf
ed9e793e89
schema: prepare new daemon table
2019-09-25 12:10:08 +02:00
Thomas Gelf
4fcda464e8
Sync: allow notification, dependency, scheduled dt
...
fixes #925
fixes #1209
fixes #1211
fixes #1212
2019-09-06 09:39:35 +02:00
Thomas Gelf
7ed1aff475
schema: allow for longer host addresses
...
fixes #1890
2019-07-09 10:50:37 +02:00
Thomas Gelf
8de93a1a9a
schema: prepare dependency host vars
...
fixes #1870
2019-07-09 10:36:57 +02:00
Thomas Gelf
904ec7c435
ScheduledDowntimes: Hosts with Services, optional
...
schema, form, rendering
fixes #1831
2019-04-12 12:12:32 +02:00
Thomas Gelf
704fb368bd
schema: make ready for pull request
2019-04-11 11:24:57 +02:00
Markus Frosch
6a79436af3
IcingaCommand: Allow command to be rendered as string
...
Icinga 2 allows this from the beginning.
2019-03-26 12:02:35 +01:00
Thomas Gelf
f06b5df3ae
schema/postgres: fix wrong uniqueness
...
fixes #1762
2019-02-14 15:20:49 +01:00
Thomas Gelf
61cb105ab1
schema: allow for larger basket summaries
...
fixes #1701
2018-11-14 11:24:05 +01:00
Thomas Gelf
84673a64ca
schema: enforce command object_name uniqueness
...
fixes #1496
2018-10-30 20:07:45 +01:00
Thomas Gelf
b141bd15ef
schema: raise forgotten schema version
2018-10-27 22:07:08 +02:00
Gregory Hargreaves
c62d5ef56c
Added Schema migrations for the servicegroup resolved cache.
2018-10-22 09:42:33 +02:00
Thomas Gelf
cb9366c5f5
schema: reset unnecessary command argument format
...
...definitions
2018-10-15 20:27:54 +02:00
Thomas Gelf
5d309b3dc7
sql: add basket schema and migrations
2018-10-15 15:03:57 +02:00
Thomas Gelf
885eadac0a
schema: make rule_name and source_name unique
2018-10-15 15:03:57 +02:00
Markus Frosch
0d879c60d3
IcingaTimeperiod: Support includes and excludes
2018-09-13 15:14:41 +02:00
Markus Frosch
4df7e8a23f
schema/150: Add constraint from user to period
2018-09-06 10:46:04 +02:00
Thomas Gelf
fbef8866ce
Revert "schema/150: Add constraint from user to period"
...
This reverts commit 4b9ab649af
.
Ooops: ERROR: Icinga\Exception\IcingaException in /workdir/icingaweb2-modules/director/library/Director/Db/Migration.php:50 with message: Migration 150 failed (SQLSTATE[HY000]: General error: 1093 Table 'icinga_user' is specified twice, both as a target for 'UPDATE' and as a separate source for data) while running UPDATE icinga_user
SET period_id = NULL
WHERE id IN (
SELECT DISTINCT u.id
FROM icinga_user u
LEFT JOIN icinga_timeperiod tp ON tp.id = u.period_id
WHERE u.period_id IS NOT NULL AND tp.id IS NULL
);
2018-09-05 18:32:52 +02:00
Markus Frosch
4b9ab649af
schema/150: Add constraint from user to period
2018-09-05 18:28:55 +02:00
Thomas Gelf
bdb1ec8473
sql: raise migration number
2018-07-13 10:48:59 +02:00
Thomas Gelf
014f9b9dbe
UserGroups: allow to specify zones
...
fixes #1163
2018-07-13 10:35:28 +02:00
Thomas Gelf
55c6657e29
schema: allow 128 characters for class names
...
fixes #1022
2018-05-29 18:27:31 +02:00
Thomas Gelf
409661f7d0
schema: add pgsql migration for blacklist feature
...
refs #907
2018-05-25 19:11:50 +02:00
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
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
44c156041a
schema: add PostgreSQL, small fixes for MySQL
...
refs #132
2017-09-28 11:02:13 +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
46a9b2574b
schema: add resolved hostgroup member tables
...
refs #832
2017-07-14 13:21:42 +02:00
Thomas Gelf
379e5d12ae
schema: add index on activity log author
...
fixes #687
2017-01-18 13:29:13 +01:00
Thomas Gelf
07b6090c31
schema: add variable cache/lookup tables
...
refs #13068
2016-12-15 19:45:22 +01:00
Thomas Gelf
4f8f79557b
schema: provide migration for conditional fields
...
fixes #13253
2016-12-14 17:41:15 +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
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