[Rt-commit] r6370 - in rt/branches/3.7-EXPERIMENTAL: .

ruz at bestpractical.com ruz at bestpractical.com
Tue Nov 7 08:33:48 EST 2006


Author: ruz
Date: Tue Nov  7 08:33:46 2006
New Revision: 6370

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/lib/RT/CustomField.pm

Log:
 r4098 at cubic-pc:  cubic | 2006-11-06 23:39:22 +0300
 * switch the pattern field to the 'longtext' part


Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/CustomField.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/CustomField.pm	(original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/CustomField.pm	Tue Nov  7 08:33:46 2006
@@ -90,7 +90,7 @@
   varchar(200) 'Name'.
   varchar(200) 'Type'.
   int(11) 'MaxValues'.
-  varchar(255) 'Pattern'.
+  longtext 'Pattern'.
   smallint(6) 'Repeated'.
   varchar(255) 'Description'.
   int(11) 'SortOrder'.
@@ -201,7 +201,7 @@
 =head2 Pattern
 
 Returns the current value of Pattern. 
-(In the database, Pattern is stored as varchar(255).)
+(In the database, Pattern is stored as longtext.)
 
 
 
@@ -210,7 +210,7 @@
 
 Set Pattern to VALUE. 
 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Pattern will be stored as a varchar(255).)
+(In the database, Pattern will be stored as a longtext.)
 
 
 =cut
@@ -355,7 +355,7 @@
         MaxValues => 
 		{read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
         Pattern => 
-		{read => 1, write => 1, sql_type => 12, length => 255,  is_blob => 0,  is_numeric => 0,  type => 'varchar(255)', default => ''},
+		{read => 1, write => 1, sql_type => -4, length => 0,  is_blob => 1,  is_numeric => 0,  type => 'longtext', default => ''},
         Repeated => 
 		{read => 1, write => 1, sql_type => 5, length => 6,  is_blob => 0,  is_numeric => 1,  type => 'smallint(6)', default => '0'},
         Description => 


More information about the Rt-commit mailing list