From 2c11210444a5f471f62a0ed52ffa8696f3485d20 Mon Sep 17 00:00:00 2001 From: Justin Bennett Date: Fri, 8 Dec 2023 02:39:03 -0500 Subject: [PATCH] Bump schema version --- nexus/db-model/src/schema.rs | 2 +- schema/crdb/dbinit.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nexus/db-model/src/schema.rs b/nexus/db-model/src/schema.rs index 963b625058..10fa8dcfac 100644 --- a/nexus/db-model/src/schema.rs +++ b/nexus/db-model/src/schema.rs @@ -1333,7 +1333,7 @@ table! { /// /// 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(19, 0, 0); +pub const SCHEMA_VERSION: SemverVersion = SemverVersion::new(20, 0, 0); allow_tables_to_appear_in_same_query!( system_update, diff --git a/schema/crdb/dbinit.sql b/schema/crdb/dbinit.sql index 20dd27156d..be7291b4e4 100644 --- a/schema/crdb/dbinit.sql +++ b/schema/crdb/dbinit.sql @@ -3071,7 +3071,7 @@ INSERT INTO omicron.public.db_metadata ( version, target_version ) VALUES - ( TRUE, NOW(), NOW(), '19.0.0', NULL) + ( TRUE, NOW(), NOW(), '20.0.0', NULL) ON CONFLICT DO NOTHING; COMMIT;