Sha256: 846876b3f0ebe31d2d6233206a86ef5ed21b17c49d0d9450198f6ffa03c6e601
Contents?: true
Size: 524 Bytes
Versions: 28
Compression:
Stored size: 524 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.references :app 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
28 entries across 21 versions & 4 rubygems