echobind / bisonapp

A Full Stack Jamstack in-a-box brought to you by Echobind
MIT License
590 stars 28 forks source link

Fix setupDb command for tests to reset database #170

Closed kgajera closed 3 years ago

kgajera commented 3 years ago

https://github.com/echobind/bisonapp/blob/canary/packages/create-bison-app/template/tests/helpers.ts#L88

The current command does not work when run multiple times on a database. It should use this: yarn prisma migrate reset --force