An INSERT has no column list and relies on the order of the table's columns

tx0/sql:insert-without-columnsstrictwarningmaintainability/designdepth fastmaintainability

What it finds

INSERT INTO t VALUES (...) without a column list depends on the order of the table's columns: adding or reordering a column breaks the statement or, worse, puts values into the wrong columns. Table variables and temporary tables are left alone.

From the rule's source, insert_without_columns.rs.

Turn it on, off or suppress it

The rule runs from the strict tier up. To turn it on in a lower tier, give it a level in tx0.toml:

tx0.toml
[rules]
"tx0/sql:insert-without-columns" = "warning"

To keep one finding, suppress it with a reason: tx0 suppress ID --reason "..." writes the comment for it.

tx0 explain tx0/sql:insert-without-columns shows the same in the terminal. Found a false positive? Report it.