qi6_app/db/migrate/20151208173913_create_particulars.rb
2019-05-17 12:30:45 +02:00

30 lines
668 B
Ruby

class CreateParticulars < ActiveRecord::Migration[6.0]
def change
create_table :particulars do |t|
t.boolean :pro
t.string :organisation
t.string :name
t.string :firstname
t.string :address_1
t.string :address_2
t.string :address_3
t.string :address_4
t.string :address_5
t.string :cp
t.string :city
t.string :country
t.string :tel
t.string :email
t.string :tel2
t.string :tel3
t.string :fax
t.string :owner_type
t.integer :owner_id
t.string :particular_type
t.boolean :skip_validation
t.timestamps null: false
end
end
end