class CreateLocations

Public Instance Methods

change() click to toggle source
# File db/migrate/20120328061139_create_locations.rb, line 2
def change
  create_table :locations do |t|
    t.string :name
    t.integer :room_id
    t.string :description

    t.timestamps
  end
end