Sha256: 4d64a25737f3a573ffd604c84ac933537c0edc2267848ab926b4a5c9e46cb1b2

Contents?: true

Size: 285 Bytes

Versions: 16

Compression:

Stored size: 285 Bytes

Contents

# This migration comes from almanac (originally 20121102185130)
class AddSpamToComments < ActiveRecord::Migration
  def up
    change_table :almanac_comments do |t|
      t.boolean :spam, :default => false
    end
  end

  def down
    remove_column :almanac_comments, :spam
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
almanac-0.9.2 spec/dummy/db/migrate/20121114185265_add_spam_to_comments.almanac.rb
almanac-0.9.1 spec/dummy/db/migrate/20121114185265_add_spam_to_comments.almanac.rb
almanac-0.9.0 spec/dummy/db/migrate/20121114185265_add_spam_to_comments.almanac.rb
almanac-0.8.0 spec/dummy/db/migrate/20121114185265_add_spam_to_comments.almanac.rb
almanac-0.7.4 spec/dummy/db/migrate/20121114185265_add_spam_to_comments.almanac.rb
almanac-0.7.3 spec/dummy/db/migrate/20121114185265_add_spam_to_comments.almanac.rb
almanac-0.7.2 spec/dummy/db/migrate/20121114185265_add_spam_to_comments.almanac.rb
almanac-0.7.1 spec/dummy/db/migrate/20121114185265_add_spam_to_comments.almanac.rb
almanac-0.6.1 spec/dummy/db/migrate/20121114185265_add_spam_to_comments.almanac.rb
almanac-0.6.0 spec/dummy/db/migrate/20121114185265_add_spam_to_comments.almanac.rb
almanac-0.5.3 spec/dummy/db/migrate/20121114185265_add_spam_to_comments.almanac.rb
almanac-0.5.2 spec/dummy/db/migrate/20121114185265_add_spam_to_comments.almanac.rb
almanac-0.5.1 spec/dummy/db/migrate/20121114185265_add_spam_to_comments.almanac.rb
almanac-0.5.0 spec/dummy/db/migrate/20121114185265_add_spam_to_comments.almanac.rb
almanac-0.4.5 spec/dummy/db/migrate/20121114185265_add_spam_to_comments.almanac.rb
almanac-0.4.4 spec/dummy/db/migrate/20121102224658_add_spam_to_almanac_comments.rb