Skip to content

Consider whether events.labels and subscription.labels should be lists of references #235

@osteele

Description

@osteele

http://docs.mongoengine.org/guide/defining-documents.html#one-to-many-with-listfields documents and demonstrates the use of a MongoDB DBRef (via MongoEngine's ReferenceField) to preserve database integrity.

This would remove the need to update all the event.labels and subscription.labels when a label is renamed.

It would also allow us to define the behavior when a label is deleted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions