FRN707[high]Engine
schema.hcl can't be used
schema.hcl has a mistake, or the SQL it declares doesn't run on PostgreSQL.
Why it's risky in PostgreSQL
Fronelta reads schema.hcl from the migration folder and builds the schema it declares in the sandbox. The finding names the line: a syntax error, an unknown attribute, a reference to a column or table that isn't declared, or a type or expression PostgreSQL rejects.
Until it's fixed, the migrations can't be compared with it.
What triggers it, and the safer way
table "orders" {
column "id" { type = "bigintt" }
}table "orders" {
column "id" { type = "bigint" }
}Suppress it when you're sure
Put this comment on the line before the statement. The reason is required and shows in the report.
-- fronelta:allow FRN707 <why this is safe here>Applies to PostgreSQL 14, 15, 16, 17.