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';