Class: CreatePassbookRegistrations

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/rails/generators/passbook/config/templates/migration.rb

Instance Method Summary collapse

Instance Method Details

#changeObject



20
21
22
23
24
25
26
27
28
29
30
# File 'lib/rails/generators/passbook/config/templates/migration.rb', line 20

def change
  create_table :passbook_registrations do |t|
    t.string :uuid
    t.string :device_id
    t.string :push_token
    t.string :serial_number
    t.string :pass_type_id

    t.timestamps
  end
end