Remove the reverse list instruction
This commit is contained in:
parent
e0545ce9af
commit
5895772c58
2 changed files with 4 additions and 4 deletions
|
@ -53,7 +53,7 @@ mod_name=Zontreck's Library Mod
|
|||
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
|
||||
mod_license=GPLv3
|
||||
# The mod version. See https://semver.org/
|
||||
mod_version=1201.13.042424.0126
|
||||
mod_version=1201.13.042424.0216
|
||||
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
|
||||
# This should match the base package used for the mod sources.
|
||||
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||
|
|
|
@ -76,6 +76,8 @@ public class DatabaseMigrations
|
|||
pstat.setString(1, tableID);
|
||||
pstat.setInt(2, version);
|
||||
|
||||
LibZontreck.LOGGER.info("SQL QUERY: " + pstat);
|
||||
|
||||
pstat.execute();
|
||||
} catch (SQLException ex)
|
||||
{
|
||||
|
@ -134,10 +136,8 @@ public class DatabaseMigrations
|
|||
private static void executeMigrations()
|
||||
{
|
||||
|
||||
List<Migration> migration = Lists.reverse(migrations);
|
||||
|
||||
Migration lastTableChecked = null;
|
||||
for(Migration m : migration)
|
||||
for(Migration m : migrations)
|
||||
{
|
||||
if(lastTableChecked == null) lastTableChecked = getCurrentTable(m.tableID);
|
||||
else {
|
||||
|
|
Reference in a new issue