storj/satellite/satellitedb/dbx
Michal Niewrzal d54ccfa92b satellite/satellitedb: change bucket_bandwidth_rollups primary key
In the past we set incorrect primary key for bucket_bandwidth_rollups
table and bucket name was first column of key instead of project id.
This change fixes this problem.

We will alter primary key manually for production satellites. That's
why migration code is checking if change was already applied.

https://github.com/storj/storj/issues/5332

Change-Id: I7dd555eb0c2f6fda1c90eaed08fa847b7f273bc7
2023-03-03 16:25:35 +00:00
..
gen satellite/satellitedb/dbx/gen: use go instead of sh 2023-01-10 16:30:39 +00:00
templates satellite/dbx: standardize on assignment 2020-12-01 16:10:18 +00:00
accounting_node.dbx satellite/satellitedb/dbx: document accounting tables 2023-02-24 16:04:29 +02:00
accounting_project.dbx satellite/satellitedb: change bucket_bandwidth_rollups primary key 2023-03-03 16:25:35 +00:00
accounting.dbx satellite/satellitedb/dbx: document accounting tables 2023-02-24 16:04:29 +02:00
audit.dbx satellite/satellitedb/dbx: document audit tables 2023-02-27 09:56:39 +00:00
billing.dbx satellite/{db,analytics,payments}: add chore for auto account freeze 2023-03-01 09:31:27 +00:00
cockroach.go private/dbutil: use dbutil and tagsql from storj.io/private 2021-04-23 14:36:52 +03:00
gen.go satellite/satellitedb/dbx/gen: use go instead of sh 2023-01-10 16:30:39 +00:00
graceful_exit.dbx satellite/satellitedb/dbx: document gracefulexit tables 2023-02-23 19:14:51 +02:00
identity.dbx satellite/satellitedb/dbx: document peer_identity table 2023-02-24 14:06:46 +00:00
node_payments.dbx satellite/satellitedb/dbx: document node payments 2023-02-27 14:13:35 +00:00
node_reputation.dbx satellite/satellitedb/dbx: add comments for node_reputation.dbx 2023-02-10 17:10:34 +02:00
node.dbx satellite/satellitedb/dbx: document node tables 2023-02-24 14:05:55 +00:00
oauth.dbx satellite/satellitedb/dbx: document oauth tables 2023-02-28 09:07:58 +00:00
project_bucket.dbx satellite/payments/stripecoinpayments: make price overrides per-bucket 2023-02-01 23:17:25 +00:00
project.dbx satellite/satellitedb/dbx: document project.dbx 2023-01-13 11:24:34 +02:00
repair.dbx satellite/satellitedb/dbx: document accounting tables 2023-02-24 16:04:29 +02:00
satellitedb.dbx satellite/satellitedb/dbx/gen: use go instead of sh 2023-01-10 16:30:39 +00:00
satellitedb.dbx.go satellite/satellitedb: change bucket_bandwidth_rollups primary key 2023-03-03 16:25:35 +00:00
satellitedb.dbx.pgx.sql satellite/satellitedb: change bucket_bandwidth_rollups primary key 2023-03-03 16:25:35 +00:00
satellitedb.dbx.pgxcockroach.sql satellite/satellitedb: change bucket_bandwidth_rollups primary key 2023-03-03 16:25:35 +00:00
user.dbx satellite/satellitedb: add passphrase_prompt column to user_settings 2023-03-01 14:53:18 -07:00