updated db schema versio from 3.5.2 to 3.6.0
This commit is contained in:
parent
be7db0e51b
commit
2c7b8b66e0
@ -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);
|
||||
|
||||
@ -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;
|
||||
$$;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user