Skip to content

database schema #2

@wildtron

Description

@wildtron

schema for storage? since we are using mongodb, database might get cluttered so we should avoid embedded docs and maintain at most two levels of document depth.
eg

{
    "id": 2,
    "name" : "test-string",
    "time" : "2010-10-08 09:13:42",
    "members" : [
        "Me",
        "you",
        "us"
    ],
    "task" : [           // this is the maximum depth
        {
            id: 3
        },
        {
            id : 2
        }
    ]
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions