storj/satellite/satellitedb/dbx
dlamarmorgan 8eec61d315 satellitedb: add timestamp index to billing table
Adding an index to the timestamp field of the billing transaction table to improve query performance. This should prevent having to do a full table scan when we query for the last billing transaction of a particular source and/or type.

Change-Id: I581f09494cc8662a12efba4302022a07121ba309
2022-08-16 22:50:02 +00:00
..
templates satellite/dbx: standardize on assignment 2020-12-01 16:10:18 +00:00
cockroach.go private/dbutil: use dbutil and tagsql from storj.io/private 2021-04-23 14:36:52 +03:00
gen.go ci: fix lint errors 2021-05-17 13:37:31 +00:00
gen.sh private/dbutil: use dbutil and tagsql from storj.io/private 2021-04-23 14:36:52 +03:00
satellitedb.dbx satellitedb: add timestamp index to billing table 2022-08-16 22:50:02 +00:00
satellitedb.dbx.go satellitedb: add timestamp index to billing table 2022-08-16 22:50:02 +00:00
satellitedb.dbx.pgx.sql satellitedb: add timestamp index to billing table 2022-08-16 22:50:02 +00:00
satellitedb.dbx.pgxcockroach.sql satellitedb: add timestamp index to billing table 2022-08-16 22:50:02 +00:00