[Rt-commit] rt branch, development, updated. d9fb87e33817149740e0f65ae165fde6962038ed
Thomas Sibley
trs at bestpractical.com
Fri Jun 18 00:10:04 EDT 2010
The branch, development has been updated
via d9fb87e33817149740e0f65ae165fde6962038ed (commit)
from e0a15cffcf66c4342c8f28d0862bbae3f42a21e1 (commit)
Summary of changes:
lib/RT/Model/CustomField.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit d9fb87e33817149740e0f65ae165fde6962038ed
Author: Thomas Sibley <trs at bestpractical.com>
Date: Thu Jun 17 23:38:05 2010 -0400
MySQL doesn't support default values for type text
I've submitted a patch for DBIx::DBSchema to fix the schema generation,
but it'd still be nice to have the default in the database.
diff --git a/lib/RT/Model/CustomField.pm b/lib/RT/Model/CustomField.pm
index 314aeb0..89ae1a4 100755
--- a/lib/RT/Model/CustomField.pm
+++ b/lib/RT/Model/CustomField.pm
@@ -110,7 +110,7 @@ use Jifty::DBI::Record schema {
column
include_content_for_value => type is 'text',
display_length is 60, default is '';
- column values_class => type is 'text',
+ column values_class => type is 'varchar(255)',
display_length is 60, default is 'RT::Model::CustomFieldValueCollection';
column disabled => max_length is 6, type is 'smallint', render as
'Checkbox', default is '0';
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list