Commit Graph
1 Commits
Author SHA1 Message Date
hamed 28dbfa67e2 Add seed script for populating database with initial data
- Implemented a comprehensive PHP script to seed the database with test data for users, doctors, clinics, appointments, payments, ratings, comments, and blogs.
- Included functions for generating random data such as UUIDs, mobile numbers, and images.
- Downloaded and stored images for doctors and clinics using parallel curl requests.
- Inserted static data for insurances, patients, and doctors with various attributes including specialties and services.
- Ensured data integrity by disabling foreign key checks during the seeding process and re-enabling them afterward.
- Provided a summary of the total records inserted into each table at the end of the script.
2026-06-10 15:06:37 +03:30