lk | time spent is now a decimal with precision 2

This commit is contained in:
Louis Knapp
2017-08-24 10:53:12 -05:00
parent df54b59b95
commit dcb91db596
4 changed files with 9 additions and 3 deletions
@@ -0,0 +1,5 @@
class ConvertTimeWorkedToDecimal < ActiveRecord::Migration
def change
change_column :bikes, :time_spent, :decimal, precision: 10, scale: 2
end
end