fix bug 3

This commit is contained in:
2026-07-12 18:35:53 +03:30
parent b29cb4e37a
commit 555f09b9c7
4 changed files with 59 additions and 4 deletions
@@ -12,3 +12,16 @@ SELECT
NOW(),
NOW()
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'tracking_systems' LIMIT 1);
INSERT INTO `settings` (`key`, `value`, `title_fa`, `type`, `can_edit`, `is_active`, `description`, `created_at`, `updated_at`)
SELECT
'tracking_systems_enabled',
'false',
'نمایش سامانه‌های ردیابی',
'switch',
0,
1,
'روشن: اسکریپت‌های tracking_systems در اپ مشتری بارگذاری می‌شوند؛ خاموش: هیچ ردیابی فعال نیست',
NOW(),
NOW()
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'tracking_systems_enabled' LIMIT 1);