0184d33e96
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 |
||
---|---|---|
.. | ||
templates | ||
cockroach.go | ||
gen.go | ||
gen.sh | ||
satellitedb.dbx | ||
satellitedb.dbx.go | ||
satellitedb.dbx.pgx.sql | ||
satellitedb.dbx.pgxcockroach.sql |