-
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
Can't refresh/reset/rollback migrations #5
Comments
On a local test all these methods seem to result in the exception being thrown. (I did rename the batch from #6 to number, which did seem to fix the migration table.) It also seems like the content of the request of the exception reveals a bit more about this issue. The error returned by Orient is |
Hi @DJWassink , yes you are right. The drop method is always calling create class method |
The problem has been solved. Try the updated code and inform |
They both updates migrations table but they don't delete the schemas that were created during the migration being reseting/rolling back.
As the result, migration table is empty but all tables that were created during migrations remain in DB. |
BTW which version of OrientDB do you guys use to test this driver? |
I am using orientdb community 2.0 M1 |
Sorry @Dalamar , I just forgot to push changes of orientdb-php . Can you please recheck it using updated code once again. |
Great! |
I use following versions for Mac OS X:
OrientDB 2.2 alpha (from download page) works fine with column name 'batch' in migrations table. |
Closing the issue as it is fixed. Please let me know if you find any problem. |
I get
Nothing to rollback.
after executing ofphp artisan orient:reset
meanwhile the database remains untouched and all classes remains the same.I get
Nothing to rollback.
after executing ofphp artisan orient:rollback
meanwhile the database remains untouched and all classes remains the same.I get
Nothing to rollback.
after executing ofphp artisan orient:refresh
and exceptionmeanwhile the database remains untouched and all classes remains the same.
The text was updated successfully, but these errors were encountered: