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:
2
migrations/025_campaign_keywords_status.sql
Normal file
2
migrations/025_campaign_keywords_status.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `campaign_keywords`
|
||||
ADD COLUMN `status` varchar(20) NOT NULL DEFAULT 'ENABLED' AFTER `match_type`;
|
||||
Reference in New Issue
Block a user