Merge branch '589-fix-cache' into 'develop'
[akkoma] / lib / pleroma / activity.ex
index cd61f6ac858672e564ab5925fdd17af29c793e99..f0aa3ce978f437c854b66b49cbedc9b248760a05 100644 (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 %{