class CreateBuildings < ActiveRecord::Migration
  def change
    create_table :buildings do |t|
      t.string :name
      t.references :location, index: true
      t.integer :resposible_id

      t.timestamps
    end
  end
end
