2017-12-28 15:13:06 +01:00
|
|
|
START TRANSACTION;
|
|
|
|
|
|
|
|
ALTER TABLE `tlayout` ADD `is_favourite` int(1) NOT NULL DEFAULT 0;
|
|
|
|
|
2018-01-04 13:10:25 +01:00
|
|
|
UPDATE tlayout SET is_favourite = 1 WHERE name REGEXP '^(' OR name REGEXP '^\\[';
|
|
|
|
|
2018-01-02 13:54:08 +01:00
|
|
|
SELECT max(unified_filters_id) INTO @max FROM tsnmp_filter;
|
|
|
|
UPDATE tsnmp_filter tsf,(SELECT @max:= @max) m SET tsf.unified_filters_id = @max:= @max + 1 where tsf.unified_filters_id=0;
|
|
|
|
|
2018-01-03 12:13:00 +01:00
|
|
|
ALTER TABLE tgraph ADD COLUMN `fullscale` tinyint(1) UNSIGNED NOT NULL default '0';
|
|
|
|
|
2018-01-03 15:53:49 +01:00
|
|
|
ALTER TABLE tcontainer_item ADD COLUMN `fullscale` tinyint(1) UNSIGNED NOT NULL default '0';
|
|
|
|
|
2018-01-03 12:13:00 +01:00
|
|
|
ALTER TABLE treport_content ADD COLUMN hide_no_data tinyint(1) DEFAULT 0;
|
|
|
|
|
2018-01-11 16:00:22 +01:00
|
|
|
ALTER TABLE tagente_estado ADD COLUMN last_unknown_update bigint(20) NOT NULL default 0;
|
|
|
|
|
|
|
|
COMMIT;
|