class CreateVoltronNotifications

Public Instance Methods

change() click to toggle source
# File lib/generators/templates/db/migrate/create_voltron_notifications.rb, line 2
def change
  create_table :voltron_notifications do |t|
    t.string :notifyable_type
    t.integer :notifyable_id

    t.timestamps null: false
  end
end