Sha256: 6e777e9f95f383132bed6fb8f886f12cb72a424c367af72abf8f7ba034ffaa6f
Contents?: true
Size: 427 Bytes
Versions: 22
Compression:
Stored size: 427 Bytes
Contents
class CreateNotifiableDeviceTokens < ActiveRecord::Migration def change create_table :notifiable_device_tokens do |t| t.string :token t.string :provider t.boolean :is_valid, :default => true t.integer :user_id t.references :app t.timestamps end add_index :notifiable_device_tokens, :token, :unique => true add_index :notifiable_device_tokens, :user_id end end
Version data entries
22 entries across 19 versions & 1 rubygems