Skip to content

create database migration service (container) #436

Open
@josefaidt

Description

@josefaidt

Describe the Feature

As the bot and frontend are split into separate apps, it makes sense to extract the database init and migrations into their own service. This service should:

  • start with project deployment
  • run prisma seed (if necessary, this will create the initial dataset such as ACCESS_LEVELS, etc.)
  • run prisma migrations
  • stop and shutdown

Note: we will need to ensure the bot and frontend services are not impacted by the migrations or seeds run by the (somewhat ephemeral) database service

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