You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 13, 2021. It is now read-only.
@peterp Would it be possible to drop the Production DB _migrations table so we can deploy the latest code in main? Here's the most recent deploy log and error output:
2:36:53 PM: Migrate database up... [started]
2:36:53 PM: $ /opt/build/repo/node_modules/.bin/prisma migrate up --experimental --create-db --auto-approve
2:36:55 PM: Error: Local and remote migrations are not in lockstep. We have migration 20200730175800-migration locally and 20200227093425 remotely at the same position in the history.
2:36:55 PM: error Command failed with exit code 1.
2:36:55 PM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2:36:56 PM: Migrate database up... [failed]
2:36:56 PM: → Command failed with exit code 1: yarn prisma migrate up --experimental --create-db --auto-approve
2:36:56 PM: Command failed with exit code 1: yarn prisma migrate up --experimental --create-db --auto-approve
Ok, this is now done. It was messier than I expected and I ended up needing to:
blow out the DB and migrations and then reapply
manually re-seed (and add a user)
@dale-french The example app is now working, however, it does require manually entering the path /invoices after log in (didn't redirect for me) as well as for logout. And the Seed.js definitely is busted, but I'm not sure it's actually needed.
@peterp Would it be possible to drop the Production DB
_migrations
table so we can deploy the latest code inmain
? Here's the most recent deploy log and error output:https://app.netlify.com/sites/redwood-example-invoice/deploys/5f84cbd921618a000779e858
cc @dale-french
The text was updated successfully, but these errors were encountered: