Fix typo in migration test. Closes #11105 [h-lame]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8873 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
c75abf058e
commit
6f0b0125d0
|
@ -446,7 +446,7 @@ if ActiveRecord::Base.connection.supports_migrations?
|
|||
table.column :hat_name, :string, :limit => 100
|
||||
table.column :hat_size, :integer
|
||||
end
|
||||
Person.connection.add_index :people, :first_name
|
||||
Person.connection.add_index :hats, :hat_name
|
||||
assert_nothing_raised do
|
||||
Person.connection.rename_column "hats", "hat_name", "name"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue