storj/satellite
Cameron Ayer 0184d33e96 satellite/satellitedb: set default 0 on uptime columns
This is the first step in the removal of uptime columns on the
nodes table. These columns are no longer used:

uptime_success_count
total_uptime_count
uptime_reputation_alpha
uptime_reputation_beta

In order to avoid breaking backwards compatibility, we need to
remove all references to these columns before removing the columns
themselves from the database. However, since uptime_success_count
and total_uptime_count are NOT NULLABLE, we can't remove them from
the insert statements in the overlay. So we can't remove the columns
because of the references, and we can't remove the references because
the columns can't be null. What a pickle. To remedy this, we will set a
default on the columns. Then we should be able to remove them from the
insert statements

Change-Id: I75f6c56fb7897835bbf29869f86f39de1d9dd345
2021-01-12 17:44:37 +00:00
..
accounting satellite/accounting/live: Use Redis client directly 2021-01-12 15:33:29 +01:00
admin satellite/admin: allow more than just "paid" invoice status during user deletion 2020-12-23 16:40:44 +01:00
attribution all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
audit all: minor cleanups 2020-12-16 10:47:46 +00:00
compensation all: add missing dots 2020-08-11 17:50:01 +03:00
console satellite/console/wasm: add more unit tests 2021-01-08 18:50:29 +00:00
contact satellite/{accounting, contact}: Remove periods and spaces from metrics. 2020-12-03 15:33:01 +00:00
gc all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
gracefulexit all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
inspector all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
internalpb satellite/orders: use smaller encrypted metadata 2021-01-08 16:40:31 +00:00
mailservice all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
marketingweb all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
metainfo satellite/metainfo/metabase: avoid magic constant 2021-01-11 10:22:21 +00:00
metrics satellite/metainfo: get away from using pb.Pointer in Metainfo Loop 2020-10-27 13:06:47 +00:00
nodeapiversion satellite/nodeapiversion: new table for tracking node api usage 2020-07-09 15:02:25 +00:00
nodeselection all: add missing dots 2020-08-11 17:50:01 +03:00
nodestats satellite,storagenode: Pass audit history over GetStats endpoint 2020-12-30 19:13:26 +00:00
orders satellite/orders: remove unused satelliteAddress field 2021-01-08 12:25:39 -05:00
overlay satellite/{overlay,satellitedb}: remove unused methods for old downtime tracking 2021-01-11 15:21:28 +00:00
payments satellite/payments/stripecoinpayments: fix tests failing in 2021 2021-01-04 10:47:31 +01:00
referrals all: minor cleanups 2020-12-16 10:47:46 +00:00
repair satellite/repair/checker: Use segment health on checker insert 2021-01-04 11:48:17 -05:00
revocation all: fix dots 2020-07-16 14:58:28 +00:00
rewards Adding Fastly (#3994) 2020-12-11 15:53:05 +02:00
satellitedb satellite/satellitedb: set default 0 on uptime columns 2021-01-12 17:44:37 +00:00
snopayout all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
admin.go all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
api.go satellite: make external address calc more robust 2021-01-11 16:47:25 +00:00
configlock_test.go all: fix linter complaints 2020-10-13 15:59:01 +03:00
core.go satellite/orders: remove unused satelliteAddress field 2021-01-08 12:25:39 -05:00
gc.go all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
peer.go satellite/dbcleanup: remove expired serial chore 2020-12-18 09:36:28 -08:00
repairer.go satellite/orders: remove unused satelliteAddress field 2021-01-08 12:25:39 -05:00