storj/private/migrate
Yaroslav Vorobiov 139a7ee959 private/migrate: add ablity to create dbs during migration
Use tagsql.DB pointer as step database, to propagate changes
back and forth between actual database and migration.
Adds CreateDB operation to the migration step to be able to
create new dbs before executing migration action.
Adjusts storagenode database migration to use inner tagsql.DB
pointer of each database as step.DB.
Adjusts satellite dabase migration, adds proxy migrationDB field
to satellite db that wraps itself as tagsql.DB, pointer of which
is used as step.DB.

Change-Id: Ifed4de5b01a356cf7b37db64d2eaeb7b61982c5c
2020-10-15 15:28:04 +03:00
..
create_test.go all: use jackc/pgx in place of lib/pq 2020-07-13 15:54:41 +00:00
create.go all: fix dots 2020-07-16 14:58:28 +00:00
db.go private/dbutil/txutil: create new transactions for retries 2020-02-01 18:34:28 +00:00
versions_test.go private/migrate: add ablity to create dbs during migration 2020-10-15 15:28:04 +03:00
versions.go private/migrate: add ablity to create dbs during migration 2020-10-15 15:28:04 +03:00