Permalink
Browse files

changed decimals to integers

  • Loading branch information...
1 parent 568bd90 commit 1984849b960d704f7acbf3c3045233d2fe0bfc37 @DrBundles committed Nov 3, 2011
@@ -1,6 +1,6 @@
class AddAgeToCalf < ActiveRecord::Migration
def self.up
- add_column :calves, :age, :double
+ add_column :calves, :age, :integer
end
def self.down
@@ -1,6 +1,6 @@
class AddHypDaysToCalf < ActiveRecord::Migration
def self.up
- add_column :calves, :hypDays, :double
+ add_column :calves, :hypDays, :integer
end
def self.down
View
@@ -25,8 +25,8 @@
t.float "aomean"
t.datetime "created_at"
t.datetime "updated_at"
- t.float "age"
- t.float "hypDays"
+ t.integer "age"
+ t.integer "hypDays"
t.text "notes"
t.text "pressNotes"
end

0 comments on commit 1984849

Please sign in to comment.