Sha256: d5c291e66cbccb059c0da000cedd3c2f8594881c5bfdb098eeac299e328273d9

Contents?: true

Size: 245 Bytes

Versions: 2

Compression:

Stored size: 245 Bytes

Contents

class AddGlobalNotificationSupport < ActiveRecord::Migration

  def change
    change_table :notifications do |t|
      t.boolean :global
      t.datetime :expires
    end
    #Notification.update_all ["global = ?", false]
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mailboxer-without-notification-0.11.2 spec/dummy/db/migrate/20130305144212_add_global_notification_support.rb
mailboxer-without-notification-0.11.1 spec/dummy/db/migrate/20130305144212_add_global_notification_support.rb