This project is archived and is in readonly mode.
remove_column of type :reference fails
-
qoobaa
It seems like the problem that I described few months ago:
https://rails.lighthouseapp.com/...
There you can find a patch (may not work with current version). I suggest closing this ticket and we've to decide how to handle non-existing types in SQLite3.
-
Noel Gomez
OK, to close
-
Frederick Cheung
- State changed from new to invalid
Aside from that, the core issue I think is that add_column :some_table, :foo, :reference adds a column called foo_id and not foo.
remove_column doesn't know this so is trying to remove a column that doesn't exist (but checkout remove_references )