Skip to content

Commit

Permalink
changed decimals to integers
Browse files Browse the repository at this point in the history
  • Loading branch information
DrBundles committed Nov 3, 2011
1 parent 568bd90 commit 1984849
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Binary file not shown.
2 changes: 1 addition & 1 deletion db/migrate/20111103005133_add_age_to_calf.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion db/migrate/20111103005304_add_hyp_days_to_calf.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1984849

Please sign in to comment.