Remove database migration logging

This commit is contained in:
games647
2016-09-19 15:59:57 +02:00
parent bef90d11cd
commit acab4766b1

View File

@ -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);