From 6f69fc8a436ee4944884a320fdb9e357edb7914b Mon Sep 17 00:00:00 2001 From: SimoneDutto Date: Tue, 10 Dec 2024 12:52:05 +0100 Subject: [PATCH] fix migration --- internal/dbmodel/sql/postgres/1_17.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/dbmodel/sql/postgres/1_17.sql b/internal/dbmodel/sql/postgres/1_17.sql index 16b4393ec..e0adc1eeb 100644 --- a/internal/dbmodel/sql/postgres/1_17.sql +++ b/internal/dbmodel/sql/postgres/1_17.sql @@ -2,3 +2,5 @@ ALTER TABLE models DROP COLUMN default_series, DROP COLUMN migration_controller_id, DROP COLUMN is_controller, DROP COLUMN cores, DROP COLUMN machines, DROP COLUMN units, DROP COLUMN type, DROP COLUMN status_status, DROP COLUMN status_info, DROP COLUMN status_data, DROP COLUMN status_since, DROP COLUMN status_version, DROP COLUMN sla_level, DROP COLUMN sla_owner; + +UPDATE versions SET major=1, minor=17 WHERE component='jimmdb';