-
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
Migrate fails since latest update of yii2 ? #19
Comments
There were some updates in Yii, but could you double check if you really have that class with the correct class-, file- and alias-name. |
Hi,
I tried out a couple of scenarios, one problem is, that the pages module doesn’t take care of table _prefix
{{%tablename}} instead of tablename ;)
And then for some reason I don’t understand the migrate command from the module:
https://github.com/Nemmo/yii2-attachments <https://github.com/Nemmo/yii2-attachments>
fails… I don’t understand it, as it used to work since last week …
Thanks for support!
… On Jan 9, 2017, at 12:17 PM, Tobias Munk ***@***.***> wrote:
There were some updates in Yii, but could you double check if you really have that class with the correct class-, file- and alias-name.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#19 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ACNmElI2wrJYLGRATg5Yg5LRwzwXX7lNks5rQhdcgaJpZM4LeI-I>.
|
Looks like it's because of the new alias support of migrations. Our migrate command can not find it because this migration is not in the global namespace. |
Thanks for trying to get feedback from the yii2 core team - looks like they friendly say you have to adopt the module ... :) |
You might try running two separate migration steps as a quick workaround. One with this command and the original Yii command for namespaced migrations. |
|
Let's keep that open until it's completely resolved ;) |
You should get Yii 2.0.9 - if running the latest version with this extension now. I think this one can be closed. |
[edit] formatting
The text was updated successfully, but these errors were encountered: