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.
11 lines
234 B
Ruby
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
|