Lovable Cloud Now Records Database Changes as Migrations and Blocks Breaking Ones
From 7 October 2026, changes to Lovable Cloud databases are recorded as Drizzle migration files under drizzle/migrations/, and changes that could break a published app are refused unless the "Execute backward incompatible database migrations" permission is enabled. Why this is a big deal for AI-built apps, plus new resource-health warnings.
One of the riskiest moments in an AI-built app is when the AI changes the database of an app that real people are using. On 7 October 2026, Lovable shipped two safeguards for Lovable Cloud databases.
1. Every database change becomes a migration file
Cloud database changes are now recorded as Drizzle migration files under drizzle/migrations/ in your project.
Why that matters:
- History. You can see exactly what changed in your schema, when, and in what order — in git, alongside the code. (What Are Database Migrations?)
- Reproducibility. A fresh environment (a copy for testing, or a new host) can be brought to the same schema by running the migrations.
- Portability. If you export your project to GitHub and move hosting, the schema comes with it as standard SQL migrations. (Export a Lovable Project to GitHub)
2. Breaking changes are refused by default
Changes that could break a published app — dropping or renaming a column the live app still reads, for example — are refused unless the "Execute backward incompatible database migrations" permission is turned on.
This is the database version of "don't deploy on Friday". In a normal engineering team, breaking schema changes go through an expand–contract process: add the new column, migrate data, switch the code, and only later remove the old column. Blocking them by default stops an AI (or you) from taking down a live app with one prompt. (Postgres Migrations on Large Tables, Zero-Downtime Deploys)
Advice: leave that permission off. Turn it on only for a specific, understood change, with a backup taken first — then turn it off again. (Backups for Beginners)
Also on 7 October
- Database resource-health warnings with a "Resolve" option.
- Resizing the database from chat on paid plans, with the credit impact shown first.
Why this matters beyond Lovable
AI agents deleting or mangling production databases has become a genre of horror story. The fixes are always the same: migrations in version control, no destructive changes without explicit approval, separate environments, and tested backups. It's good to see builders adding them as defaults. (Stop an AI Agent Deleting Your Production Database)
Source: Lovable changelog
EasySpawn runs your database next to your app with daily backups, and Claude Code works on branches with migrations you review — so schema changes reach production through a pull request, not a prompt. See how it works for AI-built apps or join the waitlist.
Related: What Is Lovable? · Prisma Migrations in Production
Keep reading
Lovable Adds Free Chat, 10-Hour /goal Runs and Domains From Chat
Lovable's late-August and September 2026 updates: chatting about ideas and apps is now free up to a daily allowance on Free, Pro and Business plans; /goal lets Lovable work toward one request for up to 10 hours; domains can be found, bought and connected from chat; and drafts let you try changes without touching the published app.
Replit Can Now Be Driven From Desktop MCP Clients, and Agent Gets Custom API Connectors
In September 2026 Replit made its platform usable from any compatible desktop MCP client — create, find, inspect, update and publish apps from your AI tool of choice (11 September) — and launched custom API connectors in beta for Pro and Enterprise teams (18 September). Plus newer models in Agent. What it enables and what to watch.