118 might actually mean 1.1.8 and so forcing that to suddenly mean 0.0.1 Alpha 8 doesn't seem ideal.0000118 is not a valid integer and we expect it to be for version comparisons.118 and accept that you'll have to write the version string out manually to mean what you want.1.0.0 Alpha 1 which can be written as e.g. 1000018 for Alpha 8 as this is more semantically correct.1000011 so we don't directly have an expectation to support versions starting at version 0.0.0 with this system.
If you're starting with version 1.0.0 Alpha what's stopping you from using the standard upgrade step procedure? There is a limiting factor I suppose in that a version ID suffix from 10 to 29 are the only valid "Alpha" versions so I suppose if you're planning to have more upgrade versions than that then I see your point.Fair enough, 99% of cases I wouldn't expect using 0.0.1 as a starting version, but this is a project that needs to be deployed frequently to a test site and I'd like to use the standard upgrade step procedure rather than manually altering the database / SSHing in to run update commands![]()
Please don't change the zerofill though cause that's gonna make bumping this version harder![]()
0000118 which would be invalid.We use essential cookies to make this site work, and optional cookies to enhance your experience.