The original migration only created the table with id/userId/apiKey. All provider keys, models, toggles, and feature flags were in the schema but never added to the database, causing every AI settings save to fail with a Prisma column-not-found error. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>