Sha256: c65e237a36bf235675e2e65fae0e54b8eff92453b263124877c2f944fcfd2195

Contents?: true

Size: 1.01 KB

Versions: 1

Compression:

Stored size: 1.01 KB

Contents

# This migration comes from calagator (originally 20081011193124)
class CreateVersionedVenues < ActiveRecord::Migration
  # NOTE: This migration's contents have been commented-out because they relied
  # on the old +acts_as_versioned+ plugin that we've since replaced with the
  # +papertrail+ plugin.
  #
  def self.up
###     Venue.create_versioned_table do |t|
###       t.string   "title"
###       t.text     "description"
###       t.string   "address"
###       t.string   "url"
###       t.datetime "created_at"
###       t.datetime "updated_at"
###       t.string   "street_address"
###       t.string   "locality"
###       t.string   "region"
###       t.string   "postal_code"
###       t.string   "country"
###       t.decimal  "latitude"
###       t.decimal  "longitude"
###       t.string   "email"
###       t.string   "telephone"
###       t.integer  "source_id"
###       t.integer  "duplicate_of_id"
###       t.integer  "version"
###     end
  end

  def self.down
###     Venue.drop_versioned_table
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
calagator-0.0.1.pre1 spec/dummy/db/migrate/20150309023322_create_versioned_venues.calagator.rb