Fix length of player_uuid column in player_balances table.

This commit is contained in:
AppleDash 2016-07-19 20:05:43 -04:00
parent a79b719e63
commit 4a1a363c71

View File

@ -58,7 +58,7 @@ public class EconomyStorageBackendMySQL implements EconomyStorageBackend {
private void createTable() {
Connection conn = openConnection();
try {
PreparedStatement ps = conn.prepareStatement("CREATE TABLE IF NOT EXISTS `player_balances` (player_uuid CHAR(38), balance DECIMAL(18, 2))");
PreparedStatement ps = conn.prepareStatement("CREATE TABLE IF NOT EXISTS `player_balances` (player_uuid CHAR(36), balance DECIMAL(18, 2))");
ps.executeUpdate();
conn.close();
} catch (SQLException e) {