Add keyword status toggle functionality and styling

- Introduced a new button to toggle the status of keywords between PAUSED and ENABLED in the keywords table.
- Added corresponding styles for the toggle button to enhance user experience.
- Updated the keywords table rendering logic to display the status and toggle button correctly.
- Created a new migration to add a 'status' column to the 'campaign_keywords' table, defaulting to 'ENABLED'.
This commit is contained in:
2026-02-24 23:31:17 +01:00
parent 2a87d0b77e
commit 651d925b20
10 changed files with 324 additions and 24 deletions

View File

@@ -0,0 +1,2 @@
ALTER TABLE `campaign_keywords`
ADD COLUMN `status` varchar(20) NOT NULL DEFAULT 'ENABLED' AFTER `match_type`;