Sha256: 0f7d80862ca28c6a2243b6bc48e3533759d72d873aa1aad4dde403c118f80b2e

Contents?: true

Size: 181 Bytes

Versions: 23

Compression:

Stored size: 181 Bytes

Contents

class AddToArticles < ActiveRecord::Migration
  def self.up
    remove_column :articles, :deleted_at
  end

  def self.down
    add_column :articles, :deleted_at, :string
  end
end

Version data entries

23 entries across 23 versions & 7 rubygems

Version Path
winton-acts_as_archive-0.1.3 spec/db/migrate_2/001_add_to_articles.rb
brianjlandau-acts_as_archive-0.2.8 spec/db/migrate_2/001_add_to_articles.rb
brianjlandau-acts_as_archive-0.2.7 spec/db/migrate_2/001_add_to_articles.rb
brianjlandau-acts_as_archive-0.2.6 spec/db/migrate_2/001_add_to_articles.rb
micahwedemeyer-acts_as_archive-0.3.0 spec/db/migrate_2/001_add_to_articles.rb
sideshowbandana-acts_as_archive-0.2.7 spec/db/migrate_2/001_add_to_articles.rb
sideshowbandana-acts_as_archive-0.2.6 spec/db/migrate_2/001_add_to_articles.rb
foolabs-acts_as_archive-0.2.12 spec/db/migrate_2/001_add_to_articles.rb
gravis-acts_as_archive-0.2.11 spec/db/migrate_2/001_add_to_articles.rb
gravis-acts_as_archive-0.2.10 spec/db/migrate_2/001_add_to_articles.rb
gravis-acts_as_archive-0.2.7 spec/db/migrate_2/001_add_to_articles.rb
gravis-acts_as_archive-0.2.9 spec/db/migrate_2/001_add_to_articles.rb
gravis-acts_as_archive-0.2.8 spec/db/migrate_2/001_add_to_articles.rb
gravis-acts_as_archive-0.2.6 spec/db/migrate_2/001_add_to_articles.rb
acts_as_archive-0.2.5 spec/db/migrate_2/001_add_to_articles.rb
acts_as_archive-0.2.4 spec/db/migrate_2/001_add_to_articles.rb
acts_as_archive-0.2.3 spec/db/migrate_2/001_add_to_articles.rb
acts_as_archive-0.2.2 spec/db/migrate_2/001_add_to_articles.rb
acts_as_archive-0.2.1 spec/db/migrate_2/001_add_to_articles.rb
acts_as_archive-0.2.0 spec/db/migrate_2/001_add_to_articles.rb