Skip to content

Commit 1d91b71

Browse files
committed
fix version number post-rebase
1 parent a822463 commit 1d91b71

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

nexus/db-model/src/schema_versions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use std::collections::BTreeMap;
1717
///
1818
/// This must be updated when you change the database schema. Refer to
1919
/// schema/crdb/README.adoc in the root of this repository for details.
20-
+pub const SCHEMA_VERSION: SemverVersion = SemverVersion::new(70, 0, 0);
20+
pub const SCHEMA_VERSION: SemverVersion = SemverVersion::new(70, 0, 0);
2121

2222
/// List of all past database schema versions, in *reverse* order
2323
///

nexus/tests/integration_tests/schema.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1229,7 +1229,7 @@ fn after_37_0_1(client: &Client) -> BoxFuture<'_, ()> {
12291229
})
12301230
}
12311231

1232-
fn before_69_0_0(client: &Client) -> BoxFuture<'_, ()> {
1232+
fn before_70_0_0(client: &Client) -> BoxFuture<'_, ()> {
12331233
Box::pin(async move {
12341234
client
12351235
.batch_execute(&format!(
@@ -1270,7 +1270,7 @@ fn before_69_0_0(client: &Client) -> BoxFuture<'_, ()> {
12701270
})
12711271
}
12721272

1273-
fn after_69_0_0(client: &Client) -> BoxFuture<'_, ()> {
1273+
fn after_70_0_0(client: &Client) -> BoxFuture<'_, ()> {
12741274
Box::pin(async {
12751275
let rows = client
12761276
.query("SELECT state FROM instance ORDER BY id", &[])
@@ -1339,7 +1339,7 @@ fn get_migration_checks() -> BTreeMap<SemverVersion, DataMigrationFns> {
13391339
);
13401340
map.insert(
13411341
SemverVersion(semver::Version::parse("69.0.0").unwrap()),
1342-
DataMigrationFns { before: Some(before_69_0_0), after: after_69_0_0 },
1342+
DataMigrationFns { before: Some(before_70_0_0), after: after_70_0_0 },
13431343
);
13441344

13451345
map

schema/crdb/dbinit.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4075,7 +4075,7 @@ INSERT INTO omicron.public.db_metadata (
40754075
version,
40764076
target_version
40774077
) VALUES
4078-
(TRUE, NOW(), NOW(), '69.0.0', NULL)
4078+
(TRUE, NOW(), NOW(), '70.0.0', NULL)
40794079
ON CONFLICT DO NOTHING;
40804080

40814081
COMMIT;

0 commit comments

Comments
 (0)