{% extends "base.html" %} {% block title %}Database Configuration Wizard - DocuElevate{% endblock %} {% block head_extra %} {% endblock %} {% block content %}
Configure a new database connection or migrate your data to an external database.
Select the database engine you want to use.
Leave blank to use the default path ./app/database.db.
Use require for managed cloud databases (AWS RDS, Supabase, etc.).
To use this database, set the DATABASE_URL environment variable
(in your .env file or Docker Compose config) to the connection string above,
then restart DocuElevate.
Copied!
Copy all your data from one database to another (e.g. SQLite → PostgreSQL).
This is your current database. Pre-filled with the running configuration.
The new database to copy data into. Must be empty (schema will be created automatically).
| Table | Rows |
|---|---|
| Total |
Warning: This will copy all data to the target database. The target must be empty. This operation cannot be undone.
Migration in progress — please do not close this page…
Migration Successful
Copied rows across tables.
Update your DATABASE_URL environment variable to the target URL and restart DocuElevate.
Migration Failed
See the Database Configuration Guide for more details.