fix bug 2
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
-- سامانههای ردیابی (آنالیتیکس) — can_edit=0، مقدار JSON
|
||||
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `type`, `can_edit`, `is_active`, `description`, `created_at`, `updated_at`)
|
||||
SELECT
|
||||
'tracking_systems',
|
||||
'[]',
|
||||
'سامانههای ردیابی',
|
||||
'longtext',
|
||||
0,
|
||||
1,
|
||||
'JSON: [{"type":"gtag","id":"G-XXXXXXX","enabled":true}] — type: gtag|gtm|clarity|custom',
|
||||
NOW(),
|
||||
NOW()
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'tracking_systems' LIMIT 1);
|
||||
Reference in New Issue
Block a user