kaps_app/db/migrate/20160217161703_create_contacts.rb
Nicolas Bally d60301e8a7 initial
2019-01-21 01:15:10 +01:00

23 lines
456 B
Ruby
Executable File

class CreateContacts < ActiveRecord::Migration
def change
create_table :contacts do |t|
t.string :civilite
t.string :firstname
t.string :name
t.string :address
t.string :address2
t.string :cp
t.string :city
t.string :country
t.string :phone
t.string :token
t.string :email
t.string :website
t.integer :raison_id
t.text :message
t.timestamps
end
end
end