OurBigBook logoOurBigBook Docs OurBigBook logoOurBigBook.comSite Source code
When quickly developing before we had any users, a reasonable way is to nuke the database everytime instead of spending time writing migrations. To do this, you can without creating a migration:
npm run deploy-prod
This breaks the website, because the DB is out of sync. So then you go and manually fix it up:
# heroku run -a ourbigbook web/bin/generate-demo-data.js --force-production --clear

Ancestors (6)

  1. OurBigBook Web database migration setup
  2. OurBigBook Web database
  3. OurBigBook Web deployment
  4. OurBigBook Web development
  5. OurBigBook Web
  6. Home