Skip to content

Can I use Activity Plugin with primary keys that aren't Integers? #274

Open

Description

@noslenkwah

The docs for the ActivityPlugin state that the object_id and target_id must be Integers. I'd like to use UUIDType for my primary keys which is essentially a Binary type.

object_id       BigInteger  The primary key of the object. Object can be
                            any entity which has an integer as primary key.

Is there any ways to modify the Activity class to change the column types to UUIDType?

Activity

  1. AbdealiLoKo commented on Aug 30, 2022

    @AbdealiLoKo
    Contributor

    As of now it is hard-coded to BigInteger and cannot be set to UUID

  2. added
    pinned
    on Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    pinned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions