Sha256: b0b5727fea3f0a2a01941d565d2fa3d34cbd31358a9a1ba2bfce2bd35d81bfbf
Contents?: true
Size: 423 Bytes
Versions: 2
Compression:
Stored size: 423 Bytes
Contents
class DeviseOnesignalMigration < ActiveRecord::Migration<%= migration_version %> def change create_table :devices do |t| t.references DeviseOnesignal.configuration.devise_class.downcase.to_sym, index: true t.string :onesignal_id, index: true, unique: true t.string :onesignal_permission t.datetime :last_used t.timestamps end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
devise-onesignal-2.0.1 | lib/generators/templates/devices_migration.rb.erb |
devise-onesignal-2.0.0 | lib/generators/templates/devices_migration.rb.erb |