Flake Ids for Users and Activities

This commit is contained in:
href 2019-01-09 16:08:24 +01:00
commit 28d77e373c
No known key found for this signature in database
GPG key ID: EE8296C1A152C325
17 changed files with 264 additions and 32 deletions

View file

@ -10,7 +10,7 @@ defmodule Pleroma.Web.Push.Subscription do
alias Pleroma.Web.Push.Subscription
schema "push_subscriptions" do
belongs_to(:user, User)
belongs_to(:user, User, type: Pleroma.FlakeId)
belongs_to(:token, Token)
field(:endpoint, :string)
field(:key_p256dh, :string)