Sha256: 2edcd6af52213d14157cafc798a8b85054530470aa1abbfbaeffec281962e176

Contents?: true

Size: 384 Bytes

Versions: 2

Compression:

Stored size: 384 Bytes

Contents

class CreateNotifiableDeviceTokens < ActiveRecord::Migration
  
  def change
    create_table :notifiable_device_tokens do |t|
      t.string :token
    	t.string :provider
      t.string :locale
      t.boolean :is_valid, :default => true
      t.string :user_alias
      t.references :app

      t.timestamps
    end

    add_index :notifiable_device_tokens, :user_alias
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
notifiable-rails-0.26.1 db/migrate/20131210115649_create_notifiable_device_tokens.rb
notifiable-rails-0.26.0 db/migrate/20131210115649_create_notifiable_device_tokens.rb