Skip to content

Migrations

Paninee K edited this page Apr 1, 2020 · 3 revisions
  • When you make changes that require Postgres migration, update migratelatest to the latest migration file you work on. For example psql -d \"${DATABASE_STAGE_URL}\" -f \"migrations/migration_047.sql\", 047 is the latest migration file.
  • Call npm run migratelatest on Heroku
Clone this wiki locally