Guest User

Untitled

a guest
Jul 16th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. File:
  2. ruby-1.9.2-p0/lib/ruby/gems/1.9/gems/activerecord-3.0.0/lib/active_record/connection_adapters/sqlite_adapter.rb
  3.  
  4. Method: copy_table (line 315 in my copy)
  5.  
  6. Update the following:
  7. @definition.column(column_name, column.type,
  8. :limit => column.limit, :default => column.default,
  9. :null => column.null)
  10.  
  11. to:
  12. @definition.column(column_name, column.type,
  13. :limit => column.limit, :default => column.default,
  14. :precision => column.precision, :scale => column.scale,
  15. :null => column.null)
Add Comment
Please, Sign In to add comment