-
-
Notifications
You must be signed in to change notification settings - Fork 120
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
Installer: Shows errors on submit & move runMigrations
#722
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Errors are now shown but if any error occurs (like if redis is not reachable for a second when clicking finish) it will display
Migrations failed
SQLSTATE[HY000]: General error: 1 table "permissions" already exists (Connection: sqlite, SQL: create table "permissions" ("id" integer primary key autoincrement not null, "name" varchar not null, "guard_name" varchar not null, "created_at" datetime, "updated_at" datetime))
cause migrations already ran even though redis failed causing the finish step to never work and you need to manually empty the database
Not sure if I understand you correctly, you got a redis error and that caused migrations to fail? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, Did notice that it no longer auto-logins for you. Might just be a windows environment thing.
Yet Another Installer PR.
Fixes errors on submit not showing because of
Halt
exception.Moves the
runMigrations
call to submit to avoid cache problems.