Rails 4 UUID Compatibility
Closed this issue · 3 comments
snikch commented
It should be worth noting the migration is incompatible with setups using UUID's for the owner id.
Copying the migration code directly into the migration and changing t.integer :owner_id
to t.uuid :owner_id
fixes this.
mezis commented
Thanks for the note @snikch. I suppose this is only applicable to the Rails 4 + Postgres combo?
Do you mind adding a note to the README to mention this, parhaps in an extra CAVEATS section?
snikch commented
Yea, that would only apply in Rails 4 + postgres.
I've created a pull request which actually allows you to change the column type in the same manner as you can change the table name.