feat(data-import): Add data import script for provinces, cities, specialties, and doctor services

- Implemented a PHP script to import data from JSON files into the database.
- Added functionality to truncate and clear existing data in relevant tables.
- Inserted provinces, cities, specialties (including parent-child relationships), and doctor services from JSON files.
- Updated foreign key checks and reset AUTO_INCREMENT values for relevant tables.
- Added JSON files for provinces, cities, and specialties.

chore(migrations): Update cities table to allow longtext for keywords

- Modified the `keywords` column in the `cities` table to change its type from VARCHAR(255) to LONGTEXT.
This commit is contained in:
hamed
2026-06-10 14:32:00 +03:30
parent 5066fcbd91
commit ee1633a9d0
7 changed files with 3658 additions and 1 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ class City
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $domain = null;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
#[ORM\Column(type: 'text', nullable: true)]
private ?string $keywords = null;
#[ORM\Column(name: 'footer_description', type: 'text', nullable: true)]