#891 new
Betelgeuse

Hobo 1.3 migration generator adds a limit when changing state default

Reported by Betelgeuse | December 27th, 2010 @ 08:02 PM | in Hobo 1.4

Using PostgreSQL 8.3 I changed the user model default and this is the generated migration:

---------- Up Migration ----------
change_column :users, :state, :string, :limit => 255, :default => "active"
----------------------------------

---------- Down Migration --------
change_column :users, :state, :string, :default => "invited"
----------------------------------

I don't think limit should be changing at this point. I have not tested what happens with Hobo 1.0.

Comments and changes to this ticket

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Pages