- Changed font from Open Sans to Roboto in layout files. - Added campaign and ad group filters in products main view. - Enhanced product history to include campaign and ad group IDs. - Updated migrations to support new campaign and ad group dimensions in product statistics. - Introduced new migration files for managing campaign types and dropping obsolete columns.
19 lines
505 B
SQL
19 lines
505 B
SQL
-- Migracja: usuniecie przestarzalej flagi is_performance_max
|
|
-- Data: 2026-02-17
|
|
-- Opis: pozostawiamy tylko advertising_channel_type jako zrodlo prawdy o typie kampanii
|
|
|
|
SET @sql = IF(
|
|
EXISTS (
|
|
SELECT 1
|
|
FROM INFORMATION_SCHEMA.COLUMNS
|
|
WHERE TABLE_SCHEMA = DATABASE()
|
|
AND TABLE_NAME = 'campaigns'
|
|
AND COLUMN_NAME = 'is_performance_max'
|
|
),
|
|
'ALTER TABLE `campaigns` DROP COLUMN `is_performance_max`',
|
|
'DO 1'
|
|
);
|
|
PREPARE stmt FROM @sql;
|
|
EXECUTE stmt;
|
|
DEALLOCATE PREPARE stmt;
|