PostgreSQL 17 runners are live
All rules

FRN708[high]History

Rollback did not restore data

Row fingerprints differ after the down migrations.

Why it's risky in PostgreSQL

Recreating a table or column restores its definition, not the values that were deleted. Fronelta compares bounded, order-independent row fingerprints before the up migrations and after the down migrations. This checks only this run's data, not production backups or external side effects.

What triggers it, and the safer way

unsafe.sql
-- up: TRUNCATE TABLE orders;
-- down: SELECT 1;
safer.sql
-- Preserve the original data in a backup table and restore it in the down migration.

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 FRN708 <why this is safe here>

Applies to PostgreSQL 14, 15, 16, 17.