This project is archived and is in readonly mode.

#636 ✓resolved
Anderson Dias

Remove default t.integer ... :limit => 11 from schema.rb

Reported by Anderson Dias | July 16th, 2008 @ 09:19 PM | in 2.x

When using rake:migrate the schema.rb assumes for any case of integer :limit = nil a :limit => 11 default value and in this case my schemas from development and test db are different. This difference makes the int(11) columns be bigint(11) columns in the test db and this will deny the foreign key creation.

Comments and changes to this ticket

Create your profile

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

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Pages