Class: CreateAgnPushNotifications
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateAgnPushNotifications
- Defined in:
- lib/generators/aa_global_notifications/install/templates/create_agn_push_notifications.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 |
# File 'lib/generators/aa_global_notifications/install/templates/create_agn_push_notifications.rb', line 2 def change create_table :agn_push_notifications do |t| t.string :message t.string :state t. end end |