Skip to content

Create schema in the code #2

@mef79

Description

@mef79

If it doesn't already exist.

Not super important unless anyone is gonna be running their own local DB, but it would be good to get out of the way now because currently the only thing that needs to be done is creating a story called "story" and adding a unique index on name.

Creating the index: db.story.createIndex( { "name": 1 }, { unique: true } )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions