From 1b351c37803480be3f29641950f06772f9cbe3aa Mon Sep 17 00:00:00 2001 From: Vladislavs Sokurenko Date: Wed, 24 Nov 2021 16:43:46 +0200 Subject: ....I..... [ZBXNEXT-6999] added upgrade patch --- create/src/schema.tmpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'create') diff --git a/create/src/schema.tmpl b/create/src/schema.tmpl index ca7ffef57a3..42c2ee1e2d4 100644 --- a/create/src/schema.tmpl +++ b/create/src/schema.tmpl @@ -1905,16 +1905,16 @@ UNIQUE |1 |name TABLE|sla_schedule|sla_scheduleid|ZBX_DATA FIELD |sla_scheduleid |t_id | |NOT NULL |0 FIELD |slaid |t_id | |NOT NULL |0 |1|sla|slaid -FIELD |from |t_integer |'0' |NOT NULL |0 -FIELD |to |t_integer |'0' |NOT NULL |0 +FIELD |period_from |t_integer |'0' |NOT NULL |0 +FIELD |period_to |t_integer |'0' |NOT NULL |0 INDEX |1 |slaid TABLE|sla_excluded_downtime|sla_excluded_downtimeid|ZBX_DATA FIELD |sla_excluded_downtimeid|t_id | |NOT NULL |0 FIELD |slaid |t_id | |NOT NULL |0 |1|sla|slaid FIELD |name |t_varchar(255) |'' |NOT NULL |0 -FIELD |from |t_integer |'0' |NOT NULL |0 -FIELD |to |t_integer |'0' |NOT NULL |0 +FIELD |period_from |t_integer |'0' |NOT NULL |0 +FIELD |period_to |t_integer |'0' |NOT NULL |0 INDEX |1 |slaid TABLE|sla_service_tag|sla_service_tagid|0 @@ -1929,4 +1929,4 @@ TABLE|dbversion|dbversionid| FIELD |dbversionid |t_id | |NOT NULL |0 FIELD |mandatory |t_integer |'0' |NOT NULL | FIELD |optional |t_integer |'0' |NOT NULL | -ROW |1 |5050127 |5050127 +ROW |1 |5050128 |5050128 -- cgit v1.2.3