Skip to content
public-library›Rules›Goose›Keep the SQL migration directory for migration files only

Keep the SQL migration directory for migration files only

When a project uses a SQL-only directory for goose migrations, keep only numbered .sql migration files in it. Put documentation, helper programs, and Go migrations elsewhere.

In the full rule