class CreateProvinces < ActiveRecord::Migration
  def change
    create_table :provinces do |t|
      t.string :nombreprov
      t.references :department, index: true, foreign_key: true

      t.timestamps null: false
    end
  end
end
