basic_app/db/migrate/20200226214522_create_m_odr_places.rb
Nicolas Bally fd027c16c1 initial
2020-04-21 21:53:16 +02:00

19 lines
404 B
Ruby

class CreateMOdrPlaces < ActiveRecord::Migration[6.0]
def change
create_table :m_odr_places do |t|
t.string :name
t.string :enseigne
t.string :city
t.string :cp
t.string :departement
t.string :departement_nbr
t.string :responsable
t.string :tel
t.string :email
t.references :m_odr, foreign_key: true
t.timestamps
end
end
end