Skip to content

Migrate on build #3

@mikefrancis

Description

@mikefrancis

Hey @leerob,

How would you deal with deploying this and running any new migrations?

I am thinking something as simple as changing the Build Command in Vercel/other platforms would work:

npm run db:migrate && npm run build

Putting migrations first as if any of those fail, then the build should bail.

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