openfoodfoundation/openfoodnetwork

View on GitHub
db/migrate/20230418030646_add_amount_to_vouchers.rb

Summary

Maintainability
A
0 mins
Test Coverage
class AddAmountToVouchers < ActiveRecord::Migration[7.0]
  def change
    add_column :vouchers, :amount, :decimal, precision: 10, scale: 2, null: false, default: 0
  end
end