diff --git a/src/main/java/com/helion3/prism/storage/mysql/MySQLStorageAdapter.java b/src/main/java/com/helion3/prism/storage/mysql/MySQLStorageAdapter.java index c31137a..6652135 100644 --- a/src/main/java/com/helion3/prism/storage/mysql/MySQLStorageAdapter.java +++ b/src/main/java/com/helion3/prism/storage/mysql/MySQLStorageAdapter.java @@ -146,7 +146,7 @@ protected void createTables() throws SQLException { if (Prism.getInstance().getConfig().getGeneralCategory().getSchemaVersion() == 1) { // Expand target: 55 -> 255 - conn.prepareStatement(String.format("ALTER TABLE %srecords ALTER COLUMN %s varchar(255);", + conn.prepareStatement(String.format("ALTER TABLE %srecords MODIFY %s varchar(255);", tablePrefix, DataQueries.Target )).execute();