Skip to main content

What it flags

Dropping a column or table that running application code may still use. In SQLite, a table rebuild that creates a replacement, copies the rows with INSERT INTO new (a, b) SELECT a, b FROM old, drops the old table and renames the replacement into place, as Prisma and drizzle-kit generate, is reported as contextual: columns the copy leaves out are discarded, so check the column list. The fix that defers the drop is not offered for SQLite, because the rename that follows needs the old table gone.

Configuration

Set the rule to "off" in loadwise.config.json to drop its findings: