VAT validation is expensive and should be done asynchronously. We don't want to validate VAT numbers every month, so we cache their status until it changes.
10 lines
176 B
Ruby
10 lines
176 B
Ruby
# frozen_string_literal: true
|
|
|
|
Sequel.migration do
|
|
change do
|
|
alter_table(:billing_info) do
|
|
add_column :valid_vat, :bool, null: true, default: nil
|
|
end
|
|
end
|
|
end
|