summaryrefslogtreecommitdiff
path: root/db/migrate/20140424230538_add_notification_code.mailboxer_engine.rb
blob: 04c12efb8724adb73bb1ea881bbdbb1f3280e7e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# This migration comes from mailboxer_engine (originally 20110912163911)
class AddNotificationCode < ActiveRecord::Migration
  def self.up
    change_table :notifications do |t|
      t.string :notification_code, :default => nil
    end
  end

  def self.down
    change_table :notifications do |t|
      t.remove :notification_code
    end
  end
end