Sha256: bf1af3cf45bcabc455979cf3aac876b4725ce2598cac083b39bea3e810414a91

Contents?: true

Size: 370 Bytes

Versions: 4

Compression:

Stored size: 370 Bytes

Contents

class CreateNotifiableNotifications < ActiveRecord::Migration
  
  def change
    create_table :notifiable_notifications do |t|
      t.text :message
      t.text :params
      
      # APNS - Optional
      #t.integer :badge
      #t.text :sound
      #t.datetime :expiry
      
      # MPNS - Optional
      #t.text :title
      
      t.timestamps
    end
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
notifiable-rails-0.7.2 lib/generators/notifiable/install/templates/create_notifiable_notifications.rb
notifiable-rails-0.7.1 lib/generators/notifiable/install/templates/create_notifiable_notifications.rb
notifiable-rails-0.7.0 lib/generators/notifiable/install/templates/create_notifiable_notifications.rb
notifiable-rails-0.6.1 lib/generators/notifiable/install/templates/create_notifiable_notifications.rb