Don't hardcode the TEXT data type; it'll still be chosen for use by MySQL and PostgreSQL because of the length of the field. Is 64k enough?
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5584 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -78,7 +78,7 @@ public class ConfigRecord extends PersistentRecord
|
|||||||
@Column(name="FIELD", length=64)
|
@Column(name="FIELD", length=64)
|
||||||
public String field;
|
public String field;
|
||||||
|
|
||||||
@Column(name="VALUE", type="TEXT")
|
@Column(name="VALUE", length=65535)
|
||||||
public String value;
|
public String value;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user