Sha256: 88df7bf2c9704589ad4e222b7c1fa83f34112817a7ce0a3d7b94411f10d4f4db

Contents?: true

Size: 173 Bytes

Versions: 15

Compression:

Stored size: 173 Bytes

Contents

class AddTypeToContents < ActiveRecord::Migration
  def self.up
    add_column :contents, :type, :string
  end

  def self.down
    remove_column :contents, :type
  end
end

Version data entries

15 entries across 15 versions & 4 rubygems

Version Path
cehoffman-acts_as_ferret-0.4.4 doc/demo/db/migrate/002_add_type_to_contents.rb
jkraemer-acts_as_ferret-0.4.4 doc/demo/db/migrate/002_add_type_to_contents.rb
acts_as_ferret-0.5.4 doc/demo/db/migrate/002_add_type_to_contents.rb
acts_as_ferret-0.5.3 doc/demo/db/migrate/002_add_type_to_contents.rb
watson-acts_as_ferret-0.4.8.2 doc/demo/db/migrate/002_add_type_to_contents.rb
acts_as_ferret-0.5.2 doc/demo/db/migrate/002_add_type_to_contents.rb
acts_as_ferret-0.4.8.2 doc/demo/db/migrate/002_add_type_to_contents.rb
acts_as_ferret-0.4.8.1 doc/demo/db/migrate/002_add_type_to_contents.rb
acts_as_ferret-0.5.1 doc/demo/db/migrate/002_add_type_to_contents.rb
acts_as_ferret-0.5 doc/demo/db/migrate/002_add_type_to_contents.rb
acts_as_ferret-0.4.8.rails3 doc/demo/db/migrate/002_add_type_to_contents.rb
acts_as_ferret-0.4.8 doc/demo/db/migrate/002_add_type_to_contents.rb
acts_as_ferret-0.4.7 doc/demo/db/migrate/002_add_type_to_contents.rb
acts_as_ferret-0.4.6 doc/demo/db/migrate/002_add_type_to_contents.rb
acts_as_ferret-0.4.4 doc/demo/db/migrate/002_add_type_to_contents.rb