Skip to content

Use Mongo _id instead of UUID for primary key #432

Description

@vnugent

We use UUID as the unique ID for climb, area, user, media object, etc, both in external resources (url slugs) and internal primary keys. It's difficult to work with UUID in the backend since we need convert UUID-dash-format <--> Internal binary.

Todo:

Investigate migration paths (converting _id to ObjectID, incrementally update GQL layers and data sources

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions