In Chapter 18, I added the Arguments Passed On Launch in the Xcode scheme editor.
And when I run the project, the output prints ‘Successfully reverted all migrations.’ There are no discernible error messages, either.
But the last line in the log is:
Program ended with exist code: 0
And the database is inaccessible via RESTed or Safari.
When I uncheck the passed arguments in the schema editor and run, the last line of the log is:
Server starting on http://localhost:8080
Is this the correct behavior? Should I be checking and unchecking the arguments passed every time I need to revert?
Or should I just be able to leave them checked every time?
Thanks!