Commit Graph

181 Commits

Author SHA1 Message Date
Thomas Gelf 5f165a59c7 schema/mysql: add state columns for import sources 2016-04-22 15:26:23 +02:00
Thomas Gelf c494c808ca schema/mysql: add job tables 2016-04-22 11:40:15 +02:00
Thomas Gelf e01cfeabef schema/mysql: extend sync rule 2016-04-22 11:12:29 +02:00
Thomas Gelf 9db04c35ef schema/mysql: allow no null var names
fixes #11518
2016-04-05 23:53:10 +02:00
Thomas Gelf 19d56fc546 schema: add notification assign type column
thnx @spillerm

refs #11452
2016-03-27 19:11:28 +02:00
Thomas Gelf e8cfeb74cc schema: add assign type column 2016-03-23 02:35:37 +01:00
Thomas Gelf c7578bd7ef schema: allow for required arguments 2016-03-21 02:44:50 +01:00
Thomas Gelf 53657cdb31 schema/pgsql: larger file_path field for config
fixes #11383
2016-03-18 21:27:33 +01:00
Thomas Gelf ad8469a34c schema/mysql: allow to apply notifications 2016-03-18 14:10:53 +01:00
Thomas Gelf a3c089e6c6 schema: add tables for notification user(group)s 2016-03-15 22:23:21 +01:00
Thomas Gelf 247ef41483 schema: add notification assignment tables 2016-03-12 01:56:59 +01:00
Thomas Gelf d3130d0494 schema: remove usergroup zone_id for now 2016-03-09 20:36:39 +01:00
Thomas Gelf 6377ed4bc7 schema/pgsql: allow for longer (> 255) commands
This has already been fixed for MySQL time ago.

refs #11315
2016-03-06 19:28:21 +01:00
Thomas Gelf 09e7a93b22 schema/mysql: remove obsolete comma 2016-03-06 13:59:46 +01:00
Thomas Gelf f76ca5fe0d schema/mysql: forgot to raise migration version 2016-03-06 00:38:26 +01:00
Thomas Gelf f37671c2c0 schema: align PostgreSQL and MySQL sync types 2016-03-05 20:34:24 +01:00
Thomas Gelf 4d84b41272 schema/pgsql: do not enforce import end_time 2016-03-05 20:07:05 +01:00
Thomas Gelf b65c9f4d4a schema/pgsql: fix tests for timeperiod_ranges 2016-03-02 20:51:41 +01:00
Thomas Gelf 4dfe03816a schema/pgsql: fix primary key on icinga_user_*_set 2016-03-02 20:48:10 +01:00
Thomas Gelf 804a30f8d4 schema: add user fields 2016-03-01 05:12:27 +01:00
Thomas Gelf 7f24e7f50a schema/pgsql: various fixes 2016-03-01 04:17:45 +01:00
Markus Frosch 133b5fb0a1 Fix NOT NULLs in PostgreSQL base schema
refs #11110
2016-03-01 00:20:00 +01:00
Markus Frosch 5f9f97f122 Add PostgreSQL migration 77
refs #11110
2016-03-01 00:06:18 +01:00
Markus Frosch e0b44e3f01 Bulk update PostgreSQL schema to 76
refs #11110
2016-02-29 23:53:00 +01:00
Thomas Gelf 665fd6a0ff schema/mysql: add missing notification tables 2016-02-29 23:45:31 +01:00
Thomas Gelf 62c1aec917 IcingaUser: remove obsolete states stub 2016-02-29 18:29:18 +01:00
Thomas Gelf b2311130ba schema/mysql: fix too restrictive primary key 2016-02-29 17:34:16 +01:00
Thomas Gelf 83d2047a23 schema/mysql: delete services on host deletion
We would otherwise create host-less service-aliens
2016-02-29 15:41:55 +01:00
Thomas Gelf df60644786 schema/mysql: add new user event filter tables 2016-02-29 15:35:11 +01:00
Thomas Gelf e64e72cb52 schema/mysql: more checksums for more history voodoo 2016-02-27 18:13:21 +01:00
Thomas Gelf 56dd2b44c4 schema/mysql: fix timeperiod relation name 2016-02-27 01:23:47 +01:00
Thomas Gelf 915b776e37 mysql/schema: add notification table 2016-02-27 01:12:44 +01:00
Thomas Gelf f0cf938ddc schema/mysql: delete ranges on time period deletion 2016-02-26 14:11:47 +01:00
Thomas Gelf ccc6274be5 schema/mysql: add hints to file header 2016-02-26 09:14:07 +01:00
Thomas Gelf 92f54dbae2 schema/mysql: storing what we know makes life easier 2016-02-24 12:20:48 +01:00
Thomas Gelf 402d2a7f53 mysql-migrations/upgrade_68: oops, forgot a file 2016-02-24 11:36:49 +01:00
Thomas Gelf ab5bc8035d schema/mysql: sync_run.duration_ms might be null
This allows us to store sync_run stats without a duration in the sync
transaction while updating duration afterwards. This way the commit
duration makes part of our measurement.
2016-02-24 11:23:01 +01:00
Thomas Gelf 42e87476fb schema/mysql: add sync_run history table 2016-02-24 10:50:57 +01:00
Thomas Gelf f03503492a schema/mysql: re-create import modifier tables 2016-02-17 22:12:00 +01:00
Thomas Gelf c3ac57ede0 schema/mysql: forgot to raise schema version 2016-02-17 15:37:35 +01:00
Thomas Gelf 5b3b5cbfb8 IcingaObjects: add new "disabled" property 2016-02-16 12:17:50 +01:00
Thomas Gelf b551651f7e schema/mysql: introduce the director_setting table 2016-02-09 19:37:23 +01:00
Thomas Gelf 84cbf522c9 Migrations: implement DB migration helpers 2016-02-08 22:33:28 +01:00
Thomas Gelf 0b36b39cf7 mysql/schema: allow longer commands
fixes #11023
2016-02-02 20:08:49 +01:00
Thomas Gelf df89a2b89e schema/mysql: hosts must be globally unique 2016-01-19 16:47:18 +01:00
Thomas Gelf 06ea68f0e9 schema/mysql: allow null values for use_agent 2015-12-18 15:59:46 +01:00
Thomas Gelf c03aaada92 IcingaService: add use_agent 2015-12-18 11:07:23 +01:00
Thomas Gelf f8634cf66b IcingaHost: add agent properties 2015-12-17 19:27:01 +01:00
Thomas Gelf 08c3614620 IcingaApiUser: introduce a new object type 2015-12-17 14:29:08 +01:00
Thomas Gelf d1d9ebe412 schema/mysql: object counters for generated files 2015-12-15 16:41:07 +01:00
Thomas Gelf 0c68677fa5 Zone: rename parent_zone to parent 2015-12-15 15:13:25 +01:00
Thomas Gelf 8ebc1cdf87 schema/mysql: allow for larger filenames 2015-12-11 21:36:58 +01:00
Thomas Gelf 46ce190813 schema/mysql: introduce icinga_service.host_id 2015-12-10 11:39:53 +01:00
Thomas Gelf cbd09c69f0 IcingaEndpoint: rename address to host 2015-12-08 08:36:53 +01:00
Thomas Gelf ef49666ee3 Sync rule: allow zones and endpoints 2015-12-03 16:13:49 +01:00
Thomas Gelf 379269653d schema/mysql: allow for 16MB startup log 2015-12-02 16:35:35 +01:00
Thomas Gelf e45cb51031 schema: allow for longer stage names
Valid host names could have 64 characters, stage names are longer
2015-12-02 15:24:17 +01:00
Thomas Gelf e871c1c534 schema/mysql: fix copy & paste error 2015-12-02 14:59:55 +01:00
Thomas Gelf c20efcd761 schema/mysql: allow for external zones 2015-12-02 05:02:13 +01:00
Thomas Gelf 245189c099 schema/mysql: relax ordering strictness as of ITL 2015-12-02 02:49:19 +01:00
Thomas Gelf ccf3092b5d schema/mysql: case sensitive command argument name 2015-12-01 10:54:23 +01:00
Thomas Gelf 80d68adcda schema/mysql: allow argument format to be null 2015-12-01 10:39:41 +01:00
Thomas Gelf 625de0d3aa schema/mysql: allow for large property values 2015-11-25 12:55:07 +01:00
Thomas Gelf f50a1f7fec schema/mysql: icinga_service_assignment added 2015-11-17 23:45:20 +01:00
Thomas Gelf 2706af6976 schema/mysql: fix import source constraints 2015-11-06 09:05:08 +01:00
Thomas Gelf a64d7d3072 schema/mysql: fix copy & paste errors 2015-10-26 12:36:36 +01:00
Thomas Gelf c41d9829ad schema/mysql: switch deployment to config_checksum 2015-10-16 18:09:04 +02:00
Thomas Gelf 74bb7d891e schema/mysql: add deployment stage information 2015-08-29 00:09:03 +02:00
Thomas Gelf 8711e877ab IcingaHost: add display_name 2015-08-29 00:05:39 +02:00
Thomas Gelf 7989bc730d schema/mysql.sql: fix typo 2015-08-28 17:54:22 +02:00
Thomas Gelf 107aca885d schema/mysql: add command fields 2015-08-28 17:22:42 +02:00
Thomas Gelf d4d48a41d8 schema/mysql: extend sync type enum 2015-08-04 19:31:31 +02:00
Thomas Gelf 611b94368b schema: rename value_format to argument_format 2015-08-03 13:51:26 +02:00
Alexander Fuhr 9c03ef5b62 schema/pgsql: fix the upgrade and the schema not null attribute
fixes #9783
2015-07-30 15:47:38 +02:00
Alexander Fuhr 91ebe4ce32 schema/pgsql-changes: rename upgrade_24-34.sql to upgrade_34.sql 2015-07-30 14:58:24 +02:00
Alexander Fuhr dc91ab498d PostgreSQL Schema: Update it to the last MySQL state
fixes #9783
2015-07-30 14:08:08 +02:00
Alexander Fuhr 360a8f794d schema/mysql: add missing new line in upgrade _34 ;) 2015-07-28 14:21:14 +02:00
Alexander Fuhr 6d2f4b8954 schema/mysql: set fields is_required attribute to not null 2015-07-28 14:19:41 +02:00
Alexander Fuhr 4aa1307c9f mysql-schema: create settings tablef for datafield 2015-07-28 11:59:46 +02:00
Thomas Gelf fbc6adcab1 schema/mysql: larger import_source_setting 2015-07-24 16:18:59 +02:00
Thomas Gelf 8715006f7e schema/mysql: allow for larger files
16MB vs 16KB
2015-07-24 11:23:21 +02:00
Stefan Scheungrab 69ce25828b myschema/upgrade29: order of dropping tables was wrong ... 2015-07-23 18:12:06 +02:00
Stefan Scheungrab 17f907489e mysql schema: removed contraints from tables import_row_modifier_setting import_row_modifier 2015-07-23 17:30:45 +02:00
Stefan Scheungrab 60f563959d mysql_schema: because of rename of the tables the key has to be updated:wq 2015-07-23 16:57:48 +02:00
Stefan Scheungrab 7564989981 mysql upgrade: deleted IF EXISTS 2015-07-23 16:47:27 +02:00
Stefan Scheungrab 3b96b38d03 mysql/schema: renamed table and two columns in order to fulfil the standards 2015-07-23 11:29:08 +02:00
Stefan Scheungrab e550d81d33 schema/mysql: modifier will be executed while import 2015-07-23 11:07:16 +02:00
Thomas Gelf 1b4cd5adfc schema/mysql: do not require sync filter expression 2015-07-23 10:47:41 +02:00
Thomas Gelf 6c31bc08b7 schema/mysql: add sync tables 2015-07-22 17:09:33 +02:00
Thomas Gelf 4cd862a9b0 mysql/upgrade_27: drop, duplicate of upgrade_21 2015-07-22 15:35:43 +02:00
Alexander Fuhr 8f74020b92 SQLSchema: Update MySQL Schema with DataListEntry 2015-07-22 13:42:47 +02:00
Stefan Scheungrab 2076d6b9a7 Import: renamed column imported_rowset_checksum TO rowset_checksum resolves: #9700 2015-07-22 11:13:52 +02:00
Thomas Gelf c00d708327 schema/mysql: require key column name for imports 2015-07-21 15:11:00 +02:00
Thomas Gelf d97d276156 schema/mysql: created initial import tables 2015-07-20 15:46:30 +02:00
Alexander Fuhr d9cff56373 SQLSchema: PostgreSQL update! 2015-07-02 16:09:17 +02:00
Alexander Fuhr 2e78e18d39 SQLSchema: MySQL Schema update 2015-07-02 15:47:43 +02:00
Alexander Fuhr c58a0db429 SQLSchema: PostgreSQL fix wrong foreign key schema 2015-07-02 14:17:13 +02:00
Alexander Fuhr 6e0b430dcc SQLSchema: Add icinga_ host, service _field tables 2015-07-02 14:10:05 +02:00
Thomas Gelf 3f9a19ac91 schema: rename datalist_value to datalist_entry 2015-06-30 15:41:59 +02:00
Alexander Fuhr 775bc67fec Add imports support for Endpoint 2015-06-29 11:11:56 +02:00