Files
adsPRO/migrations/005_drop_is_performance_max_column.sql
Jacek Pyziak 4635cefcbb feat: update font to Roboto across templates and add campaign/ad group filters in product views
- 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.
2026-02-18 01:21:22 +01:00

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;