Skip to content

Commit 2bb030b

Browse files
committed
Renumber DB migration to avoid conflict.
1 parent 17e3eae commit 2bb030b

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

aggregator_core/src/datastore.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ macro_rules! supported_schema_versions {
9999
// version is seen, [`Datastore::new`] fails.
100100
//
101101
// Note that the latest supported version must be first in the list.
102-
supported_schema_versions!(2, 1);
102+
supported_schema_versions!(3, 2, 1);
103103

104104
/// Datastore represents a datastore for Janus, with support for transactional reads and writes.
105105
/// In practice, Datastore instances are currently backed by a PostgreSQL database.

db/00000000000002_report_data_in_report_agg.down.sql db/00000000000003_report_data_in_report_agg.down.sql

-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ ALTER TABLE report_aggregations DROP COLUMN helper_encrypted_input_share;
22
ALTER TABLE report_aggregations DROP COLUMN leader_input_share;
33
ALTER TABLE report_aggregations DROP COLUMN leader_extensions;
44
ALTER TABLE report_aggregations DROP COLUMN public_share;
5-

db/00000000000002_report_data_in_report_agg.up.sql db/00000000000003_report_data_in_report_agg.up.sql

-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ ALTER TABLE report_aggregations ADD COLUMN public_share BYTEA; -- the public sh
22
ALTER TABLE report_aggregations ADD COLUMN leader_extensions BYTEA; -- encoded sequence of Extension messages from Leader input share (opaque DAP messages)
33
ALTER TABLE report_aggregations ADD COLUMN leader_input_share BYTEA; -- encoded leader input share (opaque VDAF message)
44
ALTER TABLE report_aggregations ADD COLUMN helper_encrypted_input_share BYTEA; -- encoded HPKE ciphertext of helper input share (opaque DAP message)
5-

0 commit comments

Comments
 (0)