Add migration to include site_name column in cities table

This commit is contained in:
hamed
2026-07-02 10:09:14 +03:30
parent a7d5d17b9c
commit 70d280070b
21 changed files with 1062 additions and 814 deletions
@@ -142,6 +142,7 @@ class CategoryImporter
$row['logo_url'] = self::optStr($raw['logo_url'] ?? null);
break;
case 'cities':
$row['site_name'] = self::optStr($raw['site_name'] ?? null);
$row['province_id'] = self::nullableId($raw['province_id'] ?? null, $add, 'province_id');
$row['representation_id'] = self::nullableId($raw['representation_id'] ?? null, $add, 'representation_id');
$row['contact_phone'] = self::optStr($raw['contact_phone'] ?? null);