Add webpush front-end support
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -6,7 +6,9 @@ defmodule Mobilizon.Repo.Migrations.CreateUserPushSubscriptions do
|
||||
add(:id, :uuid, primary_key: true)
|
||||
add(:user_id, references(:users, on_delete: :nothing), null: false)
|
||||
add(:digest, :text, null: false)
|
||||
add(:data, :map, null: false)
|
||||
add(:endpoint, :string, null: false)
|
||||
add(:auth, :string, null: false)
|
||||
add(:p256dh, :string, null: false)
|
||||
|
||||
timestamps()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user