ruby script/generate hobo_migration doesn't notice certain changes
Reported by mkosma | June 2nd, 2009 @ 07:40 PM
Deleted a :unique key from a Hobo model, but script/generate hobo_migration reports "nothing to change" and doesn't create a migration.
Have seen similar behavior, I think it was when I changed the data type of a column.
Now gotta figure out how to force it... perhaps by changing column name? too bad no --force option.
Comments and changes to this ticket
-
kevinpfromnm July 29th, 2009 @ 02:59 AM
Yeah, :unique adds a validates_uniqueness_of and it is correct behavior for the migration generator.
-
Bryan Larsen October 20th, 2009 @ 11:18 PM
- State changed from new to invalid
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป