Class: CreateFwtPushNotificationServerDeviceTokens
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateFwtPushNotificationServerDeviceTokens
- Defined in:
- lib/generators/fwt_push_notification_server/install/templates/create_fwt_push_notification_server_device_tokens.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
3 4 5 6 7 8 9 10 11 12 |
# 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 :device_id t.string :device_name t.boolean :is_valid, :default => true t. end end |