I'm trying to write a migration that adds a LONGBLOB column to a table in a MySQL database. I'd like to use LONGBLOB instead of BLOB so that I can store more data in the binary column. The problem is that it adds a BLOB column even though I specify a larger size.
Here's the line I'm using to add the column:
add_column :db_files, :data, :binary, :null => false, :size => 1.megabyte
Am I doing this incorrectly?