foodsoft/db/migrate/20231103110755_create_sepa_account_holders.rb
2023-11-17 15:53:32 +01:00

14 lines
344 B
Ruby

class CreateSepaAccountHolders < ActiveRecord::Migration[7.0]
def change
create_table :sepa_account_holders do |t|
t.references :user, null: false
t.references :group, null: false
t.string :iban
t.string :bic
t.string :mandate_id
t.date :mandate_date_of_signature
t.timestamps
end
end
end