Sha256: b1ecc3701c742cca627b0e31305b7b15f1dabc19a365e56ae9a49f3f4a9475da

Contents?: true

Size: 188 Bytes

Versions: 1

Compression:

Stored size: 188 Bytes

Contents

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-1.1.0 db/migrate/20110220001008_add_wifi_flag_to_venues.rb