Formbase uses libSQL (SQLite-compatible) via Drizzle. You can run a local SQLite file in development or use Turso in production for a managed libSQL database.
Local SQLite (file)
DATABASE_URL=file:./local.db
This is the simplest local setup and works well for development.Turso (libSQL)
DATABASE_URL=libsql://your-db.turso.io
TURSO_AUTH_TOKEN=your-token
The auth token is required for all libsql:// URLs.
Back up your SQLite file regularly, or use a managed libSQL provider for automated backups.