The Escape Hatch
Infrastructure Independence
Use our Chrome Extension to migrate from Lovable’s proprietary Supabase instance to your own Supabase project. Full data ownership, custom RLS policies, and production-ready infrastructure. Self-service migration.
This Is Not “Just Moving a Database”
You’re buying complete infrastructure independence:Data Migration
All tables, rows, and relationships transferred to your Supabase
Auth Migration
User accounts, passwords (with reset), OAuth connections
RLS Policies
Row Level Security rules ported and tested
Edge Functions
Serverless functions transferred and reconfigured
Database Functions
PostgreSQL functions and triggers preserved
Why 3 Credits?
The Polish client story: Their Lovable app had grown to 370 tables with complex relationships and custom RLS policies. A manual migration would have taken weeks and risked data corruption. What the 3 credits cover:-
Analysis & Planning (0.5 credits)
- Schema mapping
- Relationship analysis
- Migration strategy
-
Data Migration (1 credit)
- Table-by-table transfer
- Foreign key preservation
- Data validation
-
Auth & Security (0.5 credits)
- User account migration
- OAuth reconfiguration
- RLS policy porting
-
Edge Functions (0.5 credits)
- Function code migration
- Environment setup
- Testing
-
Testing & Validation (0.5 credits)
- End-to-end testing
- Security verification
- Performance checks
The Only Caveat: Password Resets
Auth sessions cannot be migrated. Users will need to reset their passwords.
- Supabase auth tokens are tied to the project
- Sessions are cryptographically bound
- OAuth providers need reconfiguration
- Pre-migration: Email users about upcoming change
- Post-migration: Trigger password reset flow
- Alternative: Magic link login for seamless transition
What’s Included
The Lovable Cloud to Supabase Chrome Extension provides a guided, self-service migration:Complete Database Migration
Complete Database Migration
Every table, every row, every relationship:
- PostgreSQL schema recreation
- Data integrity validation
- Index and constraint preservation
- Enum and custom type migration
- Guided step-by-step process in the Extension
Row Level Security (RLS)
Row Level Security (RLS)
Your security model, preserved:
- All RLS policies ported
- Policy testing and validation
- Extension validates policies post-migration
- Permission verification
Authentication System
Authentication System
User accounts transferred:
- Email/password accounts
- OAuth provider connections
- User metadata preservation
- Password reset flow setup
- Extension guides user communication
Edge Functions
Edge Functions
Serverless logic preserved:
- Function code migration
- Environment variables
- Secrets management
- Trigger reconfiguration
How It Works
- Install the Chrome Extension
- Connect your Lovable project (read-only)
- Connect your new Supabase project
- The Extension guides you through each migration step
- Execute migration with one click
- Verify and test in your new Supabase
The Migration Process (Chrome Extension)
Install Extension
Get the Lovable Cloud to Supabase extension from the Chrome Web StoreInstall Extension →
Connect Lovable
The Extension analyzes your current setup:
- Table count and complexity
- RLS policy audit
- Auth provider configuration
- Data volume estimation
Connect Supabase
Link your new Supabase project:
- Enter project URL
- Provide service role key
- Extension validates connection
Schema Migration
The Extension recreates your database structure:
- Table definitions
- Relationships
- Indexes
- Constraints
- Progress tracking
Data Transfer
Move your actual data:
- Batch transfers with resume capability
- Relationship preservation
- Real-time validation
- Error handling with retry
Auth Migration
Transfer user accounts:
- User metadata
- OAuth connections
- Email confirmations
- Password reset setup guidance
Security Porting
Migrate RLS policies:
- Policy recreation
- Built-in permission testing
- Security validation
When Do You Need This?
- You're Ready to Launch
- You're Hitting Limits
- You've Already Migrated Frontend
- You're Growing Fast
The Trigger: You’re about to go live and need your own infrastructure.Why Now: Can’t launch on Lovable’s shared backend. You need:
- Dedicated resources
- Custom domain
- Direct database access
- Full control
What’s Different After Migration?
| Feature | Lovable’s Backend | Your Supabase |
|---|---|---|
| Database Access | Limited | Full PostgreSQL |
| RLS Policies | Basic | Advanced |
| Edge Functions | Restricted | Full access |
| Custom Domain | No | Yes |
| Direct SQL | No | Yes |
| Backups | Managed | Controlled |
| Monitoring | Basic | Advanced |
What’s NOT Included
Storage/Files: Storage buckets and file uploads are not migrated as part of this service. You’ll need to:- Set up new storage buckets in your Supabase
- Re-upload files or migrate them separately
- Update file references in your database
Prerequisites
Before we start:- Lovable app is functional and stable
- You’ve purchased 3 migration credits
- You have a Supabase account (or we’ll create one)
- You understand the password reset requirement
- You’ve notified users about upcoming changes
Next Steps
What's Included
Detailed breakdown of the migration scope
Why 3 Credits
Understanding the value and complexity
Supabase Setup
Prepare your new Supabase project
Just need the frontend code? Start with the CLI for 1 credit. Add Cloud Migration later when you’re ready.
