Files
ubicloud/migrate/20240423_add_fraud_columns.rb
Burak Velioglu 8a55bb9b85 Add fraud and card fingerprint columns to payment method
Adding fraud and card fingerprint columns to payment method which
will be used to check whether the given card information is labeled
as fraud. Card fingerprint column will be populated after merging the
commit manually.
2024-04-25 00:32:38 -07:00

11 lines
234 B
Ruby

# frozen_string_literal: true
Sequel.migration do
change do
alter_table(:payment_method) do
add_column :card_fingerprint, :text, null: true
add_column :fraud, :boolean, default: false, null: false
end
end
end