forked from TuxCoding/FastLogin
Remove database migration logging
This commit is contained in:
@ -95,13 +95,13 @@ public class AuthStorage {
|
|||||||
createStmt.executeUpdate("ALTER TABLE premium DROP INDEX UUID");
|
createStmt.executeUpdate("ALTER TABLE premium DROP INDEX UUID");
|
||||||
}
|
}
|
||||||
} catch (SQLException sqlEx) {
|
} catch (SQLException sqlEx) {
|
||||||
core.getLogger().log(Level.FINE, "Error dropping unique uuid index", sqlEx);
|
//silent - we already migrated
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
createStmt.executeUpdate("CREATE INDEX uuid_idx on premium (UUID)");
|
createStmt.executeUpdate("CREATE INDEX uuid_idx on premium (UUID)");
|
||||||
} catch (SQLException sqlEx) {
|
} catch (SQLException sqlEx) {
|
||||||
core.getLogger().log(Level.FINE, "Error creating uuid index", sqlEx);
|
//silent - we already migrated
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
closeQuietly(con);
|
closeQuietly(con);
|
||||||
|
Reference in New Issue
Block a user