Database
Supabase
Run the application database on Supabase.
Before you begin
An account with access to the provider and permission to edit the settings below in Kernlift.
Expected result — a migrated database that the running app can read.
Set up Supabase
Create the project
Open Supabase. Create a Postgres project and store its database password.
Copy the database connection
Open Connect and copy the direct migration URL. For IPv4-only hosts check the session pooler connection.
Provider documentation · Supabase connection modes · securing the Data API
Configure the application
Set these values in the server environment for the migration. Use postgres as the database dialect.
| Connection setting | Server variable |
|---|---|
| Postgres URL | DATABASE_URL |
| Database dialect | DATABASE_DIALECT |
Run pnpm db:migrate against the target database. Configure the application with the runtime connection for your deployment.
Verify
- Verify the migration completed successfully.
- Start the application and open
/adminwith an administrator account.
Troubleshooting
DATABASE_URL is required when DATABASE_ADAPTER=postgres
The connection string is empty. Set DATABASE_URL.