Sha256: 901d18060414b7bf371c9ae794e586c4b1d2cce3297c4f2cf0c06e7ed450566a
Contents?: true
Size: 500 Bytes
Versions: 10
Compression:
Stored size: 500 Bytes
Contents
class CreateNotifiableDeviceTokens < ActiveRecord::Migration def change create_table :notifiable_device_tokens do |t| t.string :token t.string :provider t.string :device_id t.boolean :is_valid, :default => true t.integer :user_id t.timestamps end add_index :notifiable_device_tokens, :device_id, :unique => true add_index :notifiable_device_tokens, :token, :unique => true add_index :notifiable_device_tokens, :user_id end end
Version data entries
10 entries across 10 versions & 1 rubygems