diff --git a/nexus/db-model/src/schema.rs b/nexus/db-model/src/schema.rs index 7d4ae241aa..be345032ac 100644 --- a/nexus/db-model/src/schema.rs +++ b/nexus/db-model/src/schema.rs @@ -1301,7 +1301,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(16, 0, 0); +pub const SCHEMA_VERSION: SemverVersion = SemverVersion::new(17, 0, 0); allow_tables_to_appear_in_same_query!( system_update, diff --git a/schema/crdb/15.0.0/up01.sql b/schema/crdb/16.0.0/up01.sql similarity index 100% rename from schema/crdb/15.0.0/up01.sql rename to schema/crdb/16.0.0/up01.sql diff --git a/schema/crdb/15.0.0/up02.sql b/schema/crdb/16.0.0/up02.sql similarity index 100% rename from schema/crdb/15.0.0/up02.sql rename to schema/crdb/16.0.0/up02.sql diff --git a/schema/crdb/16.0.0/up1.sql b/schema/crdb/17.0.0/up1.sql similarity index 100% rename from schema/crdb/16.0.0/up1.sql rename to schema/crdb/17.0.0/up1.sql diff --git a/schema/crdb/dbinit.sql b/schema/crdb/dbinit.sql index 8a34c09bc1..f4caa2a4e6 100644 --- a/schema/crdb/dbinit.sql +++ b/schema/crdb/dbinit.sql @@ -3009,7 +3009,7 @@ INSERT INTO omicron.public.db_metadata ( version, target_version ) VALUES - ( TRUE, NOW(), NOW(), '16.0.0', NULL) + ( TRUE, NOW(), NOW(), '17.0.0', NULL) ON CONFLICT DO NOTHING; COMMIT;