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

@ -8,6 +8,7 @@ defmodule Pleroma.Activity do
import Ecto.Query
@type t :: %__MODULE__{}
@primary_key {:id, Pleroma.FlakeId, autogenerate: true}
# https://github.com/tootsuite/mastodon/blob/master/app/models/notification.rb#L19
@mastodon_notification_types %{