Kernlift
Database

Neon

Run the application database on Neon.

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 Neon

Select the branch and database

Open Neon. Create a project and select the target branch and database.

Copy the migration URL

Open Connect and copy a non-pooled URL for migrations. Choose a runtime connection compatible with prepared statements.

Provider documentation · Neon connections

Configure the application

Set these values in the server environment for the migration. Use postgres as the database dialect.

Connection settingServer variable
Postgres URLDATABASE_URL
Database dialectDATABASE_DIALECT

Run pnpm db:migrate against the target database. Configure the application with the runtime connection for your deployment.

Verify

  1. Verify the migration completed successfully.
  2. Start the application and open /admin with an administrator account.

Troubleshooting

DATABASE_URL is required when DATABASE_ADAPTER=postgres

The connection string is empty. Set DATABASE_URL.

Next steps

Use Postgres and Supabase