cirandas.net

ref: master

plugins/push_notification/db/migrate/20160118192037_create_notification_subscriptions.rb


1
2
3
4
5
6
7
8
9
class CreateNotificationSubscriptions < ActiveRecord::Migration
  def change
    create_table :push_notification_plugin_notification_subscriptions do |t|
      t.string :notification, :unique => true
      t.integer :environment_id, null: false
      t.text :subscribers
    end
  end
end