Open ChrisHardie opened 2 years ago
Great questions.
I'm curious what @d9it and @bmunyoki think about this.
Hi Chris,
- If you import the database manually then no need to use php artisan migrate.
FWIW I did try just importing manually, but there was brokenness until I ran the migrations.
Below is the updated SQL dump file.
https://github.com/sarapis/orservices/blob/master/database/dump/09112021.sql
Can you please try again with importing manually?
Let me know if you are still facing any issues. Thanks!
The installation instructions currently specify that
artisan migrate
is to be run before the the DB dump is imported manually. In my case, this led to a migration error:Indeed:
But when I imported the database dump first (
mysql -u orservices orservices < database/dump/15022021.sql
) and then ran the migrations, everything worked okay.Unless I'm missing something, should the README be updated to reflect this order of operations?
(Related, is it a goal to get all of the initial DB data imported via seeding, or are there good reasons for having it done via a direct SQL file import?)