sadem_app/db/migrate/20200226214522_create_m_odr_places.rb
Nicolas Bally 2e982b4fd2 suite
2020-02-27 13:51:18 +01: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