Sha256: a32cfd88505af7cc3559d7ba3040e2881f54442fead6ac549b49f6fe71dc9e34

Contents?: true

Size: 416 Bytes

Versions: 2

Compression:

Stored size: 416 Bytes

Contents

class AddAntiSpamToMessages < ActiveRecord::Migration

  def change
    add_column :georgia_messages, :spam, :boolean, default: false
    add_column :georgia_messages, :verified_at, :datetime
    add_column :georgia_messages, :permalink, :string
    add_column :georgia_messages, :user_ip, :string
    add_column :georgia_messages, :user_agent, :string
    add_column :georgia_messages, :referrer, :string
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
georgia-0.7.1 lib/generators/georgia/upgrade/templates/add_anti_spam_to_messages.rb
georgia-0.7.0 lib/generators/georgia/upgrade/templates/add_anti_spam_to_messages.rb