Use shorter columns so that we don't blow past the 1000 byte key limit on
databases configured to use utf8 encoding for their strings. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3899 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -91,8 +91,8 @@ public class ConfigRepository extends JORARepository
|
||||
throws SQLException, PersistenceException
|
||||
{
|
||||
JDBCUtil.createTableIfMissing(conn, "CONFIG", new String[] {
|
||||
"OBJECT VARCHAR(255) NOT NULL",
|
||||
"FIELD VARCHAR(255) NOT NULL",
|
||||
"OBJECT VARCHAR(128) NOT NULL",
|
||||
"FIELD VARCHAR(64) NOT NULL",
|
||||
"VALUE TEXT NOT NULL",
|
||||
"PRIMARY KEY (OBJECT, FIELD)",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user