vita_app/db/migrate/20150710105519_create_account_ribs.rb
Nicolas Bally d52c017848 suite
2016-04-28 22:41:58 +02:00

29 lines
646 B
Ruby

class CreateAccountRibs < ActiveRecord::Migration
def change
create_table :account_ribs do |t|
t.references :product_customer, index: true
t.string :bank_name
t.string :bank_city
t.string :country
t.string :name
t.string :address
t.string :address2
t.string :cp
t.string :city
t.string :iban
t.string :bic
t.string :tva_number
t.boolean :tva
t.boolean :enabled
t.boolean :validated
t.datetime :validated_at
t.boolean :archived
t.datetime :archived_at
t.string :scan_file
t.timestamps null: false
end
end
end