Sha256: cec27859dad76996b7b3e17a06e14a1f7837ac1bb891fdba2f031b899c5df447

Contents?: true

Size: 350 Bytes

Versions: 18

Compression:

Stored size: 350 Bytes

Contents

# 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

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
curate-0.6.6 spec/internal/db/migrate/20140328183333_add_notification_code.mailboxer_engine.rb
curate-0.6.4 spec/internal/db/migrate/20140131175538_add_notification_code.mailboxer_engine.rb
curate-0.6.3 spec/internal/db/migrate/20131205204154_add_notification_code.mailboxer_engine.rb
curate-0.6.1 spec/internal/db/migrate/20131203200452_add_notification_code.mailboxer_engine.rb
curate-0.6.0 spec/internal/db/migrate/20131126132921_add_notification_code.mailboxer_engine.rb
curate-0.5.6 spec/internal/db/migrate/20131114003128_add_notification_code.mailboxer_engine.rb
curate-0.5.5 spec/internal/db/migrate/20131114003128_add_notification_code.mailboxer_engine.rb
curate-0.5.4 spec/internal/db/migrate/20131111192818_add_notification_code.mailboxer_engine.rb
curate-0.5.2 spec/internal/db/migrate/20131106182804_add_notification_code.mailboxer_engine.rb
curate-0.5.1 spec/internal/db/migrate/20131028141229_add_notification_code.mailboxer_engine.rb
curate-0.5.0 spec/internal/db/migrate/20131018143720_add_notification_code.mailboxer_engine.rb
curate-0.3.2 spec/dummy/db/migrate/20130408165024_add_notification_code.mailboxer_engine.rb
curate-0.3.1 spec/dummy/db/migrate/20130408165024_add_notification_code.mailboxer_engine.rb
curate-0.2.0 spec/dummy/db/migrate/20130408165024_add_notification_code.mailboxer_engine.rb
curate-0.1.3 spec/dummy/db/migrate/20130408165024_add_notification_code.mailboxer_engine.rb
curate-0.1.2 spec/dummy/db/migrate/20130408165024_add_notification_code.mailboxer_engine.rb
curate-0.1.1 spec/dummy/db/migrate/20130408165024_add_notification_code.mailboxer_engine.rb
curate-0.1.0 spec/dummy/db/migrate/20130408165024_add_notification_code.mailboxer_engine.rb