-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install instructions clarification re DB migrations and importing #82
Comments
ChrisHardie
changed the title
Install instructions clarification
Install instructions clarification re DB migrations and importing
Nov 8, 2021
Hi Chris,
|
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! |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?)
The text was updated successfully, but these errors were encountered: