Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- File:
- ruby-1.9.2-p0/lib/ruby/gems/1.9/gems/activerecord-3.0.0/lib/active_record/connection_adapters/sqlite_adapter.rb
- Method: copy_table (line 315 in my copy)
- Update the following:
- @definition.column(column_name, column.type,
- :limit => column.limit, :default => column.default,
- :null => column.null)
- to:
- @definition.column(column_name, column.type,
- :limit => column.limit, :default => column.default,
- :precision => column.precision, :scale => column.scale,
- :null => column.null)
Add Comment
Please, Sign In to add comment