e9131ea558
Add webpush notification permission in frontend Co-authored-by: Sojan <sojan@pepalo.com>
6 lines
230 B
Ruby
6 lines
230 B
Ruby
class AddIndexOnNotificationSubscriptions < ActiveRecord::Migration[6.0]
|
|
def change
|
|
add_column :notification_subscriptions, :identifier, :string
|
|
add_index :notification_subscriptions, :identifier, unique: true
|
|
end
|
|
end
|