This is the result of trying out 'maximum' as the default string precision. It is likely that will be reversed soon.
Blair On 04/12/2010 12:44 PM, "Michael Sharman" <[email protected]> wrote: > I created a custom type today and got an error deploying it that the > row size was too large. Basically the new db engine in farcry 6.1 > defaults varchar to 2000 characters. Seeing as I had 3-4 'string' > types (and I was extending types) that made the db (mysql) barf. > > I remember reading about some enhanced db granularity being attached > to formtools but couldn't find anything across the 6-7 farcry > documentation sites. > > Finally I came across this looking through core: dbPrecision="250" > > So in short if you get that error this might be the way to go. It's a > great addition and probably should be added to all your custom types. > Here's a default for a field of string: > > <cfproperty name="mylabel" type="string" dbPrecision="250" > required="no" default="" ftLabel="My Label"> > > -- > You received this message cos you are subscribed to "farcry-dev" Google group. > To post, email: [email protected] > To unsubscribe, email: > [email protected]<farcry-dev%[email protected]> > For more options: http://groups.google.com/group/farcry-dev > -------------------------------- > Follow us on Twitter: http://twitter.com/farcry -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry
