Hello again, community! I've searched some info but can not figure out how to create a custom parameter/filed for project to count migrations for database.
Situation:
We are using migrations and numbering them, i.e. I am working on issue PROJ-44 and I need to add a table to our db, so I am writing migration_68.sh and increase our global MIGRATION_COUNTER from 68 to 69. This counter informs other developers to use counter 70 for their future migrations. It is really usefull for us, because we just use migrate_all.sh, which applies all our migrations.
But I can not figure out how to create custom global counter for this in a project, any ideas?
Thanks a lot!