Q048warning

Migration file ignored

A .sql file in the migrations directory is skipped because its name does not end in .up.sql or .down.sql.

db/migrations/notes.sql:1:1: warning[Q048]: notes.sql is ignored; migration files must be named <version>_<name>.up.sql or <version>_<name>.down.sql
Printed by sgl from a small PostgreSQL reproduction project.

When it is reported

Migrations are read in version order from files named like 0002_add_index.up.sql.

How to fix it

Rename the file.

In your terminal

$ sgl explain Q048

Look for IgnoredMigrationFile in Seagull's source to see where it is reported.