PostgreSQL 17 runners are live
All rules

FRN705[info]History

No down migration

A new migration has no down migration, so its reversibility wasn't checked.

Why it's risky in PostgreSQL

Your migration tool supports down migrations, but this one has none (golang-migrate: no matching .down.sql; dbmate: no -- migrate:down section). Fronelta checks reversibility only when every new migration has one.

This is advice: turn the rule off in the project's rules if your team doesn't roll back with down migrations.

What triggers it, and the safer way

unsafe.sql
-- db/migrations/0060_tags.up.sql only
safer.sql
-- db/migrations/0060_tags.up.sql and db/migrations/0060_tags.down.sql

Suppress it when you're sure

Put this comment on the line before the statement. The reason is required and shows in the report.

suppression
-- fronelta:allow FRN705 <why this is safe here>

Applies to PostgreSQL 14, 15, 16, 17.