Skip to content

Commit cc2e8b1

Browse files
authored
text is limited with 65,000 chars which is not enough
1 parent 03a6b24 commit cc2e8b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/codeine/db/mysql/connectors/StatusMysqlConnector.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public void createTables() {
5454
log.info("read only mode");
5555
return;
5656
}
57-
String colsDefinition = "peer_key VARCHAR(150) NOT NULL PRIMARY KEY, data text, update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL, status VARCHAR(50) DEFAULT 'On' NOT NULL";
57+
String colsDefinition = "peer_key VARCHAR(150) NOT NULL PRIMARY KEY, data MEDIUMTEXT, update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL, status VARCHAR(50) DEFAULT 'On' NOT NULL";
5858
dbUtils.executeUpdate("create table if not exists " + TABLE_NAME + " (" + colsDefinition + ")");
5959
}
6060

0 commit comments

Comments
 (0)