emicklei / gmig

Google Cloud Platform migrations tool for infrastructure-as-code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

support migration from old timestamp prefix to sequence prefix

emicklei opened this issue · comments

Recently, the gmig tool uses a different strategy for name the migration files.
The old strategy was to use a timestamp format.
The new strategy uses a simple sequence e.g. 010, 015 etc.
To support the conversion to the new strategy forexisting projects that use the old strategy, the gmig tool could have a separate comment called "upgrade" that performs this and any future tasks.