storj / crypto-batch-payment

A high volume ERC20 token payment application.
GNU Affero General Public License v3.0
5 stars 0 forks source link

Fix migration version bump #20

Closed azdagron closed 4 months ago

azdagron commented 4 months ago

This patch fixes a bug in the migration code wherein the version number is not moved forward after a migration has been applied.

It also allows the migration to happen on databases opened "read-only", by re-opening them read-write, applying the migration, and then reopening read-only.