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

Initialization problem: No new migrations found. Your system is up-to-date. #103

Open
newscloud opened this issue Sep 7, 2020 · 1 comment

Comments

@newscloud
Copy link

newscloud commented Sep 7, 2020

Hi, in my development environment, I had previously initialized the comments extension and had a comments table. Then, I dropped the database, re-created the database and re-ran the migrations to rebuild it.

Now, when I run:
./yii migrate --migrationPath=@vendor/yii2mod/yii2-comments/migration

It says:
Yii Migration Tool (based on Yii v2.0.37)
No new migrations found. Your system is up-to-date.

How do I get the migration to run again?

Thank you for your extension!

@srakl
Copy link

srakl commented Sep 18, 2021

Was looking for this too, have to clear the migration table. Worked for me.

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