updated db schema versio from 3.5.2 to 3.6.0

This commit is contained in:
dashevchenko 2023-09-19 18:41:13 +03:00
parent be7db0e51b
commit 2c7b8b66e0
2 changed files with 4 additions and 4 deletions

View File

@ -768,10 +768,10 @@ public class SqlDatabaseUpgradeService implements DatabaseEntitiesUpgradeService
} catch (Exception e) {
}
conn.createStatement().execute("UPDATE tb_schema_settings SET schema_version = 3005002;");
log.info("Schema updated to version 3.5.2.");
conn.createStatement().execute("UPDATE tb_schema_settings SET schema_version = 3006000;");
log.info("Schema updated to version 3.6.0.");
} else {
log.info("Skip schema re-update to version 3.5.2. Use env flag 'SKIP_SCHEMA_VERSION_CHECK' to force the re-update.");
log.info("Skip schema re-update to version 3.6.0. Use env flag 'SKIP_SCHEMA_VERSION_CHECK' to force the re-update.");
}
} catch (Exception e) {
log.error("Failed updating schema!!!", e);

View File

@ -25,7 +25,7 @@ CREATE OR REPLACE PROCEDURE insert_tb_schema_settings()
$$
BEGIN
IF (SELECT COUNT(*) FROM tb_schema_settings) = 0 THEN
INSERT INTO tb_schema_settings (schema_version) VALUES (3005002);
INSERT INTO tb_schema_settings (schema_version) VALUES (3006000);
END IF;
END;
$$;