storj/satellite/satellitedb/dbx
Michał Niewrzał 8ce619706b satellite/audit: migrate to new segment_pending_audit table
Currently, pending audit is finding segment by segment location
(path) because we want to move audit to segmentloop and we will
have only StreamID and Position we need to add columns for those
fields. Altering existing table can cause issues while
migration and deployment. Cleaner choise is to make new table.
This change contains migration with new segment_pending_audit
table that will replace pending_audits table and adjustments
to use new table in the code.

Table pending_audits will be dropped with next release.

Change-Id: Id507e29c152da594bac1fd812c78d7ecf45ec51f
2021-06-28 13:19:49 +02: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 satellite/audit: migrate to new segment_pending_audit table 2021-06-28 13:19:49 +02:00
satellitedb.dbx.go satellite/audit: migrate to new segment_pending_audit table 2021-06-28 13:19:49 +02:00
satellitedb.dbx.pgx.sql satellite/audit: migrate to new segment_pending_audit table 2021-06-28 13:19:49 +02:00
satellitedb.dbx.pgxcockroach.sql satellite/audit: migrate to new segment_pending_audit table 2021-06-28 13:19:49 +02:00