-
Notifications
You must be signed in to change notification settings - Fork 18
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
requires migrationScripts to have a query #2
Comments
Hi @MrMoronIV , I think you have a valid point. We should be able to tolerate empty |
Hm ... I have checked the code and we actually tolerate empty |
How would you define the script then? As |
According to the test case I mentioned above the Isn't the above behavior acceptable? |
OK, I now understand what is going on. I had put assertions in the I had the tests in place to allow the behavior you mentioned, but I was mocking I will remove the |
Issue fixed in v0.1.2 |
Thank you, I'm glad I wasn't going insane despite my name :p So putting On another note but maybe unrelated, is there a way to reset the database so it gets recreated during testing or is that happening automatically when the app is built from scratch again (not just restarting)? And secondly, am I correct if there is no way to inspect a database as if there was some sort of phpmyadmin? |
Yes, putting You can use the You can try StackOverflow for your last question, I am not aware of any such tool. |
I don't want to spoil your tea but when I use
My code
It says migrations is of type |
Try using a correctly typed list like |
Can this be made so the migrationScripts can just receive an empty List? Or an empty string in the list as the query?
It now assumes there's already a migration required but I was thinking ahead of possible required database changes in the future and now I need to provide a migration query like
select 1
The text was updated successfully, but these errors were encountered: