Displaying 1 result from an estimated 1 matches for "db_import_schema".
2006 Jan 09
3
rails ignoring the migration file
...;, :binary, :limit => 15.megabytes, :null => false
rails changes it to this in the schema:
t.column "data", :binary, :default => "", :null => false
not only is this not what I wanted because it removes the size
restrictions it also blows up when you try to do rake db_import_schema
with this error:
site_path>rake db_schema_import
(in D:/sites/itsthes/itsthes-ruby/itsthes)
rake aborted!
undefined method `string_to_binary'' for
ActiveRecord::ConnectionAdapters::ColumnDefinition:Class
Is anyone else know why this is happening? Does anyone else have a
problem with r...