sideplace_app/db/migrate/20150413224100_create_departements.rb

13 lines
253 B
Ruby

class CreateDepartements < ActiveRecord::Migration
def change
create_table :departements do |t|
t.string :slug
t.string :nom_departement
t.string :code
t.integer :id_region
t.timestamps null: false
end
end
end