Sha256: bd2a94ce9a8994f09c1423bf68c31609467db3a4964178381e18379618635388

Contents?: true

Size: 179 Bytes

Versions: 25

Compression:

Stored size: 179 Bytes

Contents

class AddToArticles < ActiveRecord::Migration
  def self.up
    add_column :articles, :permalink, :string
  end

  def self.down
    remove_column :articles, :permalink
  end
end

Version data entries

25 entries across 25 versions & 7 rubygems

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