-- Optional OneSignal template per flow step (same as migration 2026_10_26_000006).
-- Run once; it fails with "Duplicate column name" if it was already applied.
ALTER TABLE `push_flow_templates` ADD COLUMN `onesignal_template_id` varchar(40) NULL DEFAULT NULL AFTER `analytics_tag`;
-- if you ran this file instead of `php artisan migrate`, record it:
-- INSERT INTO migrations (migration, batch) VALUES ('2026_10_26_000006_add_onesignal_template_id_to_push_flow_templates', (SELECT MAX(b) FROM (SELECT MAX(batch) AS b FROM migrations) t));
