From 20e8cf7deca692a46b875c6aced2a3763bee5b67 Mon Sep 17 00:00:00 2001 From: Ryan Goodfellow Date: Wed, 29 Nov 2023 11:01:30 -0800 Subject: [PATCH] schema version 15 -> 16 --- nexus/db-model/src/schema.rs | 2 +- schema/crdb/{15.0.0 => 16.0.0}/up1.sql | 0 schema/crdb/dbinit.sql | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename schema/crdb/{15.0.0 => 16.0.0}/up1.sql (100%) diff --git a/nexus/db-model/src/schema.rs b/nexus/db-model/src/schema.rs index 4dd070ce4d..821cc463b5 100644 --- a/nexus/db-model/src/schema.rs +++ b/nexus/db-model/src/schema.rs @@ -1300,7 +1300,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(15, 0, 0); +pub const SCHEMA_VERSION: SemverVersion = SemverVersion::new(16, 0, 0); allow_tables_to_appear_in_same_query!( system_update, diff --git a/schema/crdb/15.0.0/up1.sql b/schema/crdb/16.0.0/up1.sql similarity index 100% rename from schema/crdb/15.0.0/up1.sql rename to schema/crdb/16.0.0/up1.sql diff --git a/schema/crdb/dbinit.sql b/schema/crdb/dbinit.sql index bca0780f6e..6019e27782 100644 --- a/schema/crdb/dbinit.sql +++ b/schema/crdb/dbinit.sql @@ -2999,7 +2999,7 @@ INSERT INTO omicron.public.db_metadata ( version, target_version ) VALUES - ( TRUE, NOW(), NOW(), '15.0.0', NULL) + ( TRUE, NOW(), NOW(), '16.0.0', NULL) ON CONFLICT DO NOTHING; COMMIT;