Understand the difference between Current and Committed migrations
mainGraphile Migrate distinguishes between two types of migrations:
- The current migration: The non-committed migration that is actively being developed and executed by
graphile-migrate watch. By default, this is defined inmigrations/current.sql(ormigrations/current/*.sqlin folder mode). - Committed migration(s): The files that have been finalized using
graphile-migrate commit. These are stored inmigrations/committed/*.sqland are numbered to ensure a strict linear history.