From 182d66afaf11c6ba75d38dc4b8843f42898b1589 Mon Sep 17 00:00:00 2001 From: dhutty Date: Tue, 6 Mar 2012 15:05:02 -0500 Subject: [PATCH] Stop the generation of a parameter for the bytea datatype because postgresql (at least version 9.1) won't take parameters for it. --- db/migrate/001_create_import_in_progresses.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/001_create_import_in_progresses.rb b/db/migrate/001_create_import_in_progresses.rb index 81fbacc..15696cc 100644 --- a/db/migrate/001_create_import_in_progresses.rb +++ b/db/migrate/001_create_import_in_progresses.rb @@ -6,7 +6,7 @@ def self.up t.string :col_sep, :limit => 8 t.string :encoding, :limit => 64 t.column :created, :datetime - t.column :csv_data, :binary, :limit => 4096*1024 + t.column :csv_data, :binary end end