openfoodfoundation/openfoodnetwork

View on GitHub
db/migrate/20230315040748_add_deleted_at_to_vouchers.rb

Summary

Maintainability
A
0 mins
Test Coverage
class AddDeletedAtToVouchers < ActiveRecord::Migration[6.1]
  def change
    add_column :vouchers, :deleted_at, :datetime
    add_index :vouchers, :deleted_at
  end
end