graphile / migrate

Opinionated SQL-powered productive roll-forward migration tool for PostgreSQL.
MIT License
751 stars 58 forks source link

Fix chalk import #199

Closed diesal11 closed 10 months ago

diesal11 commented 10 months ago

I upgraded to 2.0.0-rc.0. And ran into some errors when migrations contained an error:

> postgraphile@1.0.0 watch /Users/dyl/dev/CAI/atrace-backend/packages/db-schema
> graphile-migrate watch

graphile-migrate: Up to date — no committed migrations to run
[2024-01-23T11:04:10.861Z]: Running current.sql
Error occurred whilst processing migration: Cannot read properties of undefined (reading 'bold')

I had a quick look and this seems to be the solution.

benjie commented 10 months ago

Fix released in graphile-migrate@2.0.0-rc.1 - thanks!