PDA

View Full Version : PostgreSQL and migrations


rubyonrails-talk
August 26th, 2006, 10:43 PM
Just thought I'd pass a note of an error I see when using migrations
with PostgreSQL. In a create_table |table| block, the line
table.column :trinkets, :text, :limit => 8192
will create a PGError. It will try to turn that into a field
"trinkets" text(8192)
and since the text data type does not take a parameter, it produces an

More... (http://groups.google.com/group/rubyonrails-talk/msg/244ff1d9520195a9)