storj/satellite/satellitedb
dlamarmorgan c8b72c8f71 satellite/{payments/billing,satellitedb}: refactor billing DB
Update the billing table to use generated IDs, to include the source and status fields, and to add metadata jsonb field that can be used for fields specific to a particular type of billing transaction. Additionally a new table was added to keep track of user balances

Change-Id: Ieb3a63aafd8fe21fc3386bafd43d52081b7d2838

satellite/{payments/billing,satellitedb}: refactor billing DB

Update the billing table to use generated IDs, to include the source and status fields, and to add metadata jsonb field that can be used for fields specific to a particular type of billing transaction. Additionally a new table was added to keep track of user balances

Change-Id: Ieb3a63aafd8fe21fc3386bafd43d52081b7d2838
2022-08-03 17:52:32 +00:00
..
dbx satellite/{payments/billing,satellitedb}: refactor billing DB 2022-08-03 17:52:32 +00:00
satellitedbtest private/testplanet: don't cleanup cockroach 2022-05-19 15:27:37 +03:00
testdata satellite/{payments/billing,satellitedb}: refactor billing DB 2022-08-03 17:52:32 +00:00
apikeys.go satellite/console: support reading apikeys by name and project id 2022-03-14 13:21:21 -05:00
attribution.go {cmd/satellite/reports, satellite/attribution}: type and variable name adjustments 2022-04-26 20:12:38 +00:00
audithistory.go satellite/reputation: new ApplyUpdates() method 2022-06-07 15:22:25 +00:00
billingdb.go satellite/{payments/billing,satellitedb}: refactor billing DB 2022-08-03 17:52:32 +00:00
bucketsdb.go satellite/metainfo: propagate geofencing between buckets and stream id 2021-11-24 08:05:05 +00:00
coinpaymentstxs.go satellite/satellitedb: use tx instead of db.db in transactions 2022-06-14 17:35:44 +00:00
compensation.go satellite/compensation: smaller txns for RecordPeriod 2021-03-02 20:14:25 +00:00
consoledb_test.go satellite/satellitedb/satellitedbtest: pass ctx as an argument 2020-01-20 16:35:42 +02:00
consoledb.go web/satellite: create chore that will resend verification emails to unverified users 2022-05-18 08:08:33 +00:00
containment.go satellite/satellitedb: use tx instead of db.db in transactions 2022-06-14 17:35:44 +00:00
customers.go satellite/billing: make stripe invoice generation work with multiregion satellites 2021-05-06 11:51:03 -06:00
database.go cmd/node-cleanup: command to delete uncontacted nodes 2022-07-12 12:15:49 +00:00
gracefulexit.go sql: capitalize keywords 2022-03-01 15:19:38 +00:00
invoiceprojectrecords.go satellite/satellitedb: use tx instead of db.db in transactions 2022-06-14 17:35:44 +00:00
migrate_gen.go all: fix linting issues 2022-03-21 15:26:42 +00:00
migrate_test.go satellite/satellitedb: suspended column removal migration 2022-04-20 17:59:11 +00:00
migrate.go satellite/{payments/billing,satellitedb}: refactor billing DB 2022-08-03 17:52:32 +00:00
migratez.go satellite/{payments/billing,satellitedb}: refactor billing DB 2022-08-03 17:52:32 +00:00
nodeapiversion.go ci: fix lint errors 2021-05-17 13:37:31 +00:00
nodeselection.go sql: capitalize keywords 2022-03-01 15:19:38 +00:00
orders.go satellite/satellitedb: use tx instead of db.db in transactions 2022-06-14 17:35:44 +00:00
overlaycache.go satellite/{overlay,satellitedb}: add AS OF to download selection 2022-06-28 05:18:01 +00:00
payouts.go satellite/compensation: smaller txns for RecordPeriod 2021-03-02 20:14:25 +00:00
peeridentities.go all: fix dots 2020-07-16 14:58:28 +00:00
projectaccounting_test.go satellite/projectaccounting: sum up bucket usages for daily usage query 2022-06-01 12:50:10 +00:00
projectaccounting.go satellite/projectaccounting: make daily usage query return correct allocated traffic 2022-06-01 15:24:52 +00:00
projectfromdbx_test.go satellite/{console,satellitedb}: add PublicID to Project, db method GetByPublicID 2022-07-21 19:49:26 +00:00
projectmembers_test.go web/satellite: project members sorting fixed (#3231) 2019-10-15 15:24:53 +03:00
projectmembers.go all: fix linter complaints 2020-10-13 15:59:01 +03:00
projects_test.go satellite/{console,satellitedb}: add PublicID to Project, db method GetByPublicID 2022-07-21 19:49:26 +00:00
projects.go satellite/satellitedb: don't select public_id in ListByOwnerID because it will be NULL for old projects 2022-08-03 11:37:12 -04:00
regtokens.go all: fix dots 2020-07-16 14:58:28 +00:00
repairqueue.go satellite/repair: implementation of batch insert 2022-05-09 12:41:22 +00:00
reputations.go satellite/reputation: add a reputation write cache 2022-07-14 21:40:16 +00:00
resetpasstokens.go all: fix dots 2020-07-16 14:58:28 +00:00
revocation.go sql: capitalize keywords 2022-03-01 15:19:38 +00:00
storagenodeaccounting.go satellite: return interval_end_time in DailyStorageUsage endpoint 2022-07-27 18:24:27 +00:00
storjscandb.go satellite/{payments/storjscan,satellitedb}: Add storjscan wallet DB 2022-05-24 08:42:02 +00:00
storjscanpayments.go satellitedb: storjscandb return payment with UTC time 2022-07-27 20:05:37 +00:00
storjscanwallets.go satellite/{payments/storjscan,satellitedb}: Add storjscan wallet DB 2022-05-24 08:42:02 +00:00
stripecoinpaymentsdb.go satellite/{payments,satellitedb}: Remove custom coupon implementation 2021-10-11 19:47:00 +00:00
userfromdbx_test.go satellite/console: add cutoff to email reminders 2022-06-09 16:45:35 +00:00
users_test.go satellite/console: use new type UpdateUserRequest as arg to db users.Update 2022-06-14 09:28:03 -04:00
users.go satellite/console: use new type UpdateUserRequest as arg to db users.Update 2022-06-14 09:28:03 -04:00
webappsessions_test.go satellite/console: implement WebappSessions db 2022-05-16 15:06:04 +00:00
webappsessions.go satellite/console: implement WebappSessions db 2022-05-16 15:06:04 +00:00