class CreateFwtPushNotificationServerDeviceTokens

Public Instance Methods

change() click to toggle source
# File lib/generators/fwt_push_notification_server/install/templates/create_fwt_push_notification_server_device_tokens.rb, line 3
def change
  create_table :fwt_push_notification_server_device_tokens do |t|
    t.string :token
    t.string :user_id
    t.boolean :is_valid, :default => true

    t.timestamps
  end
end