Sha256: 8473b9a240e0984f1ca7173fb9484e9d594cff1a73d7bf93c7b46c69d0eb2ccb

Contents?: true

Size: 239 Bytes

Versions: 3

Compression:

Stored size: 239 Bytes

Contents

class CreateMemberDevices < ActiveRecord::Migration
  def change
    create_table :member_devices do |t|
      t.belongs_to 	:member, 		index: true
      t.string 		:device
      t.string 		:push_token
      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pshq_engine-0.1.6 db/migrate/20150806085559_create_member_devices.rb
pshq_engine-0.1.5 db/migrate/20150806085559_create_member_devices.rb
pshq_engine-0.0.1 db/migrate/20150806085559_create_member_devices.rb