Skip to content
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

'migrations' table was not updated #202

Open
dordana opened this issue May 14, 2020 · 1 comment
Open

'migrations' table was not updated #202

dordana opened this issue May 14, 2020 · 1 comment

Comments

@dordana
Copy link

dordana commented May 14, 2020

After I ran php artisan migrate:generate
After running the command `php artisan migrate:generate`` the process created files for me but did not update the 'migrations' table in DB.

@jasperf
Copy link

jasperf commented Mar 22, 2021

That is true. It does not update the migrations table and so on next migration it will complain tables already exist as it seemingly never ran those migrations before.

In our case we replaced old migrations as after many new ones they did not work for new setups anymore. But now we can only run single migration files.

Genera migrations hang on table already exist and we do not want to overwrite, but we just want to skip. Not sure if there are solutions for that though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants