Datamapper TEXT limited to 65k characters by default — how to raise the limit? Datamapper TEXT limited to 65k characters by default — how to raise the limit? postgresql postgresql

Datamapper TEXT limited to 65k characters by default — how to raise the limit?


OK,

Turns out :length does work.

class SomeClass  include DataMapper::Resource  property :id,                     Serial  property :name,                   String, :index => true         # strings are actively loaded   property :posted,                 DateTime  property :info,                   Text, :lazy => false # This is short stuff a hundred or so bytes long that I want loaded   property :data,                   Text, :length => 500000 # Text is lazy loaded by default, but I also need to override the default length limit which is 65536 chars in DM