git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7579 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Michael Koziarski 2007-09-22 22:33:51 +00:00
parent 9ab8d4d9ed
commit 1abe5a2ded
1 changed files with 1 additions and 0 deletions

View File

@ -334,6 +334,7 @@ if ActiveRecord::Base.connection.supports_migrations?
Person.delete_all
ActiveRecord::Migration.add_column :people, :intelligence_quotient, :tinyint
Person.reset_column_information
Person.create :intelligence_quotient => 300
jonnyg = Person.find(:first)
assert_equal 127, jonnyg.intelligence_quotient