Sha256: 98503cfd68be03dd857d4b3cea32e3413b6c9c5a1d7ca94e6acaf6e8236e6080

Contents?: true

Size: 257 Bytes

Versions: 1

Compression:

Stored size: 257 Bytes

Contents

# This migration comes from calagator (originally 20110220001008)
class AddWifiFlagToVenues < ActiveRecord::Migration
  def self.up
    add_column :venues, :wifi, :boolean, :default => false
  end

  def self.down
    remove_column :venues, :wifi
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
calagator-0.0.1.pre1 spec/dummy/db/migrate/20150309023326_add_wifi_flag_to_venues.calagator.rb