class ChangeNumericFieldInPSheetLinesAndOther < ActiveRecord::Migration[6.0]
  def change
    change_column :p_ship_tour_truck_sheet_lines, :price_shiped, :decimal, :precision => 13, :scale => 5
    change_column :p_product_brut_stocks, :price, :decimal, :precision => 13, :scale => 5
    change_column :p_product_brut_stocks, :ok_price, :decimal, :precision => 13, :scale => 5
    change_column :p_product_brut_stocks, :ok_price_abs, :decimal, :precision => 13, :scale => 5
    change_column :p_product_brut_stocks, :price_abs, :decimal, :precision => 13, :scale => 5
    change_column :p_brut_products, :price, :decimal, :precision => 13, :scale => 5
    change_column :p_products, :price, :decimal, :precision => 13, :scale => 5
    change_column :p_sheet_line_stocks, :price, :decimal, :precision => 13, :scale => 5
    change_column :p_sheet_line_stocks, :price_ok, :decimal, :precision => 13, :scale => 5
    change_column :p_tank_stocks, :price, :decimal, :precision => 13, :scale => 5
    
  end
end
