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:
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user