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:
Michael Bayne
2006-03-01 22:08:40 +00:00
parent 2ca83d0a29
commit 679133091b
@@ -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)",
});