-- LMC Broadcast WhatsApp template defaults
-- Run this only if your app_settings values are missing or incorrect.

INSERT INTO app_settings (`key`, `value`, `updated_by_admin_id`, `created_at`, `updated_at`)
VALUES ('wa_default_template_name', 'lmc_post_update', NULL, NOW(), NOW())
ON DUPLICATE KEY UPDATE `value` = VALUES(`value`), `updated_at` = NOW();

INSERT INTO app_settings (`key`, `value`, `updated_by_admin_id`, `created_at`, `updated_at`)
VALUES ('wa_default_template_lang', 'en_GB', NULL, NOW(), NOW())
ON DUPLICATE KEY UPDATE `value` = VALUES(`value`), `updated_at` = NOW();
