storj/storagenode/storagenodedb
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
..
storagenodedbtest all: fix linter complaints 2020-10-13 15:59:01 +03:00
testdata storagenode/reputation: offline_under_review_at added 2020-09-02 18:48:28 +03:00
bandwidthdb.go all: fix dots 2020-07-16 14:58:28 +00:00
database.go private/migrate: add ablity to create dbs during migration 2020-10-15 15:28:04 +03:00
db_container.go private/dbutil/txutil: create new transactions for retries 2020-02-01 18:34:28 +00:00
deprecatedinfo.go storagenodedb: reenable utccheck in tests 2019-12-10 23:17:14 +00:00
migrations_test.go private/migrate: add ablity to create dbs during migration 2020-10-15 15:28:04 +03:00
notifications.go all: simplify uuid usage 2020-04-02 05:48:58 +00:00
orders.go storagenode/orders: Refactor orders store 2020-10-06 15:28:07 -04:00
payout.go storagenode: heldamount renamed to payouts, renamed some methods and structs to more meaningful names. grouped estimated payout with pathouts 2020-09-16 14:57:35 +00:00
pieceexpiration.go all: fix dots 2020-07-16 14:58:28 +00:00
pieceinfo.go all: fix dots 2020-07-16 14:58:28 +00:00
piecespaceused.go all: fix dots 2020-07-16 14:58:28 +00:00
pricing.go all: replace == comparison with errors.Is 2020-07-14 15:50:25 +00:00
reputation.go storagenode/reputation: offline_under_review_at added 2020-09-02 18:48:28 +03:00
satellites.go all: fix dots 2020-07-16 14:58:28 +00:00
schema.go satellite/satellitedb: uses vetted_at field to select for reputable nodes 2020-09-04 16:45:32 +00:00
schemagen.go all: rename CreateTables to MigrateToLatest 2020-04-30 07:21:17 +00:00
storageusage.go all: fix dots 2020-07-16 14:58:28 +00:00
usedserials.go storagenode/piecestore: switch usedserials db for in-memory usedserials store 2020-05-28 12:52:52 -04:00