Commit Graph

14 Commits

Author SHA1 Message Date
Michael Friedrich 1b9f0a8c77 Add the unique_id for comments/downtimes next to legacy_id to DB IDO
fixes #10431
2015-10-30 11:25:07 +01:00
Michael Friedrich 4d784dd075 DB IDO: Add an index for CV session delete
The DELETE statement might become painfully slow on
large installations.

refs #10436
2015-10-29 16:18:49 +01:00
Michael Friedrich cf5735e3df DB IDO: Remove deleted custom variables
We cannot clear the custom variable tables on startup and then re-insert
all known custom vars. Instead we "fixed" it by leaving them
in the database only updating their value if changed. We certainly
forgot about deleted custom vars at that point.

Since the older fix must stay in place, we'll use a session
token stored in the backend to check whether the custom
variable has been updated/inserted in the current session, or not.
If the session token does not match, the custom vars are deleted
at the end of the config dump. Ugly but fairly the only performant
solution as CVs don't have an object_id.

fixes #10436
2015-10-29 16:00:06 +01:00
Michael Friedrich d618762dad Export original attributes in DB IDO and Livestatus
fixes #10392
2015-10-22 15:49:42 +02:00
Michael Friedrich a788de679c DB IDO: Add zones, zonestatus tables
refs #9286
2015-07-14 18:09:24 +02:00
Michael Friedrich 3648703ad8 DB IDO: Fix datatype for 'check_source' in statehistory table
fixes #9455
2015-06-22 17:02:58 +02:00
Eric Lippmann fe3eba801a Add PostgreSQL schema upgrade to IDO version 1.14.0 for adding the time zone for default timestamps
refs #9027
2015-05-04 11:35:41 +02:00
Michael Friedrich 9d97094390 DB IDO: Fix duplicate entries in {host,service}depencencies table
fixes #7765
2015-02-12 13:19:27 +01:00
Michael Friedrich 58d5c42d9c DB IDO: Dump custom attributes as json encoded arrays/dictionaries; add 'is_json' column
refs #7560
2014-11-04 13:47:45 +01:00
Michael Friedrich 2626ee0256 Revert "DB IDO: Drop invalid schema changes from 1.x IDOUtils in #6060"
This reverts commit dd0a2ab590.
2014-10-26 20:24:41 +01:00
Michael Friedrich dd0a2ab590 DB IDO: Drop invalid schema changes from 1.x IDOUtils in #6060 2014-10-26 19:57:16 +01:00
Michael Friedrich 4dc13d965e DB IDO: Change schema version to 1.12.0
refs #7391
2014-10-25 01:42:51 +02:00
Michael Friedrich 3fd20d56aa DB IDO: Add program_version column to programstatus table
Bump schema version to 1.11.8

fixes #7391
2014-10-16 12:11:10 +02:00
Gunnar Beutner 98eb771b1d Move all libraries into the lib/ directory 2014-10-13 09:51:49 +02:00