-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Using dot in major version creates extension bug and fake version in table #37
Comments
Just to clarify, do you mean you'd like it to support semantic versioning? Or you'd like to support the ability to have dots in the name itself? I could just disallow dots from the regexp but I'd prefer to support what you're trying to do. |
Both would be great. It would be useful for my case to use dots in major version (ex: |
great thanks for the info, I'll work on this! |
I added the ability to use dots in the major and minor versions, added support for semantic versioning in general, and added all of the needed tests around it. You can also use either periods or underscores to separate the major/minor/patch versions. |
Just tested the feature with 0.3.21, it works perfectly. Great thanks to you for your work, it will be very useful for me 😃 |
Awesome great to hear!!! Please let me know if you run into any other issues while using, I appreciate it!. |
Hello,
I'm trying to integrate pyway in a project which needs SQL migration.
I am trying to integrate files with patterns like :
V5.0_01__initial_schema.sql
However, the version in pyway schema table gives me : 0.01... I would need it to be 5.0.01 ({major}.{minor}). If I write a dot in major version (ex:
V5.0
), it seems the extension is notSQL
anymore, but the name of the script (in my case :0_01__INITIAL_SCHEMA
)...Could you please look to consider this evolution ?
Thank you 🙂
The text was updated successfully, but these errors were encountered: