drizzle-orm-fk-references-must-be-explicit

Drizzle ORM schema columns declared as plain int (e.g., teamId, assigneeId, creatorId) do NOT auto-generate foreign key constraints — .references() must be called explicitly on each column. Without this, deletions silently create orphaned rows with no DB-level integrity enforcement. This is a common Drizzle gotcha when developers assume ORM column naming implies referential integrity.