fixed error in bbdd tsnmp_filter

This commit is contained in:
daniel 2018-01-02 13:54:08 +01:00
parent 78899cc1c7
commit ff60278060
1 changed files with 3 additions and 0 deletions

View File

@ -2,4 +2,7 @@ START TRANSACTION;
ALTER TABLE `tlayout` ADD `is_favourite` int(1) NOT NULL DEFAULT 0;
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;
COMMIT;