Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.

Commit

Permalink
Merge pull request #137 from prism/database
Browse files Browse the repository at this point in the history
Fix MySQL Statement
  • Loading branch information
viveleroi committed Jun 2, 2019
2 parents cf6345c + e4ea562 commit fa6e1d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit fa6e1d8

Please sign in to comment.