Skip to content

Use Mongo _id instead of UUID for primary key #432

@vnugent

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

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