diff --git a/nexus/db-model/src/schema.rs b/nexus/db-model/src/schema.rs index afcc68af0ef..99fe41ba34d 100644 --- a/nexus/db-model/src/schema.rs +++ b/nexus/db-model/src/schema.rs @@ -13,7 +13,7 @@ use omicron_common::api::external::SemverVersion; /// /// This should be updated whenever the schema is changed. For more details, /// refer to: schema/crdb/README.adoc -pub const SCHEMA_VERSION: SemverVersion = SemverVersion::new(30, 0, 0); +pub const SCHEMA_VERSION: SemverVersion = SemverVersion::new(31, 0, 0); table! { disk (id) { diff --git a/schema/crdb/30.0.0/up.sql b/schema/crdb/31.0.0/up.sql similarity index 100% rename from schema/crdb/30.0.0/up.sql rename to schema/crdb/31.0.0/up.sql diff --git a/schema/crdb/30.0.0/up1.sql b/schema/crdb/31.0.0/up1.sql similarity index 100% rename from schema/crdb/30.0.0/up1.sql rename to schema/crdb/31.0.0/up1.sql diff --git a/schema/crdb/dbinit.sql b/schema/crdb/dbinit.sql index 47b80ede2d8..5db1c98f140 100644 --- a/schema/crdb/dbinit.sql +++ b/schema/crdb/dbinit.sql @@ -3442,7 +3442,7 @@ INSERT INTO omicron.public.db_metadata ( version, target_version ) VALUES - ( TRUE, NOW(), NOW(), '30.0.0', NULL) + ( TRUE, NOW(), NOW(), '31.0.0', NULL) ON CONFLICT DO NOTHING; COMMIT;