ruby - Rails schema dump is putting string in for postgres point.. How do I fix this? -
i have point defined in migrations... when run migrations point in database.. perfect!! asked for.
but.. see in schema.rb t.string? messes ci system, because builds database based on schema.rb.
co-worker wants change type in database array, because easy. find leaves stink in code.
q: how make schema.rb file show column point?
completeness
/20141120 ... .rb
class addheadertouser < activerecord::migration def change add_column :users, :header_image_centre, :point end end
/schema.rb
t.string "header_image_centre", limit: nil
this seems fixed in rails 4.2
Comments
Post a Comment