Skip to content
This repository was archived by the owner on Jun 14, 2020. It is now read-only.
This repository was archived by the owner on Jun 14, 2020. It is now read-only.

Create seeds for the database when docker container runs for the first time #11

@alivenotions

Description

@alivenotions

Description: Use knex seeds to create the seed file in the src/config directory. Insert 1-3 records in all the tables.

Reference: Run the seed command in the npm run dev script. Can create a new script to keep the dev script lean.

Another thing, please check if the seeds work properly on every docker-compose up. If there seems to be some issue with docker-compose, raise an issue related to that

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