Schema Migrations on Every Deploy: Run Them When Your App Starts
Change a Light Cloud PostgreSQL schema with a migration file that runs automatically on every deploy, and what a rollback does and does not undo.
Run database migrations on every Light Cloud deploy: a node-pg-migrate SQL file, npm start running it before the server, and why rollbacks leave the schema alone.
Read post




