storj/storagenode/storagenodedb
Jeff Wendling 4ad01e8170 storagenode/storagenodedb: backfill reputation.joined_at
it was being used in ways that implied it should be NOT NULL
even though it was possibly null. we used to get this data
from the satellite db's added_at column as seen in 30369b02,
so backfill it using that data where joined_at is NULL, and
then alter the table to constrain the column to be NOT NULL.

Fixes #3866.

Change-Id: If2d856189209740d985f71dada7b93525e625ef3
2020-05-01 17:59:53 +00:00
..
storagenodedbtest all: rename CreateTables to MigrateToLatest 2020-04-30 07:21:17 +00:00
testdata storagenode/storagenodedb: backfill reputation.joined_at 2020-05-01 17:59:53 +00:00
bandwidthdb.go storagenode/bandwidth: fix tests to not fail for 10 hours near the end of the month 2020-01-31 16:25:52 -07:00
database.go storagenode/storagenodedb: backfill reputation.joined_at 2020-05-01 17:59:53 +00: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
heldamount.go storagenode/heldamount payments removed 2020-04-21 17:15:31 +00:00
migrations_test.go cmd/storagenode;storagenode/storagenodedb: add preflight database check 2020-01-16 18:44:46 +00:00
notifications.go all: simplify uuid usage 2020-04-02 05:48:58 +00:00
orders.go all: don't depend on gogo/proto directly 2020-04-08 17:32:15 +00:00
pieceexpiration.go storagenode/storagenodedb: fixes to row handling 2020-01-16 15:08:37 +00:00
pieceinfo.go all: don't depend on gogo/proto directly 2020-04-08 17:32:15 +00:00
piecespaceused.go storagenode/pieces: Track total piece size 2020-01-23 11:00:24 -07:00
pricing.go storagenode/nodestats: add pricing model, storagenode/cache: add paystub history storing 2020-04-14 19:04:00 +03:00
reputation.go storagenode/storagenodedb/reputation: add joined_at 2020-04-17 12:12:09 +00:00
satellites.go storagenode/storagenodedb: use tagsql 2020-01-19 14:39:16 +02:00
schema.go storagenode/storagenodedb: backfill reputation.joined_at 2020-05-01 17:59:53 +00:00
schemagen.go all: rename CreateTables to MigrateToLatest 2020-04-30 07:21:17 +00:00
storageusage.go storagenode/storagenodedb: use tagsql 2020-01-19 14:39:16 +02:00
usedserials.go storagenode/{piecestore,storagenodedb}: use context in queries 2020-01-14 20:27:26 +00:00