mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Added a precision and scale to the school score to make sure decimals are stored in mysql
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddScaleToTeamScoreDecimal < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
change_column :schools, :score, :decimal, precision: 15, scale: 1
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user