Feature: Fake migration
AMecea opened this issue · comments
Hi @timster, thank you for your work, I really appreciate it!
We would like to include peewee-moves in our framework but we need a method to fake apply the migration in order to provide an easy way for the users to do the upgrade.
Please let me know what do you think and I would be glad to contribute with this feature.
Thank you!
What do you mean by "fake apply"?
I'd be glad to add whatever feature is necessary, but I just want to make sure I understand what you need.
I mean to mark the migration applied but without doing any real changes to the application tables. It's like Django migrate --fake
Gotcha. I pushed commits to add a --fake
flag to upgrade and downgrade operations. I added info to the docs as well.
Let me know what you think
I haven't pushed to pypi, but this will go up as version 2.0.4
Also, I haven't used colibris before, but if there are any other changes that would make it easier to use together (like I have done for Flask integration), let me know and I'd be glad to add them.
Thank you very much @timster, it's perfect this is what we needed, I will let you know if we need anything else.
I have a suggestion, I think it's ok to bump the minor version (2.1.0) because you added a new feature 😄
Thank you!
I have published 2.1.0