Files
ubicloud/migrate/20250313_add_valid_vat.rb
Enes Cakir 6ba64302dc Add a valid_vat column to billing_info
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.
2025-03-19 09:46:45 +03:00

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