Database
AODE provisions a PostgreSQL or MySQL database for a project with one click and injects the connection variables into its container.
Quick Start
- Create or open a project
- In Advanced Settings (or the project's Database card), enable the database and choose PostgreSQL or MySQL
- AODE creates the database and a user for it, then injects the connection variables into your container
That's it. Your app can connect using DATABASE_URL or framework-specific variables like DB_HOST, DB_DATABASE, etc.
Connection Variables
AODE reads your project's .env.example and uses your framework's naming convention automatically:
- Laravel:
DB_CONNECTION,DB_HOST,DB_PORT,DB_DATABASE,DB_USERNAME,DB_PASSWORD - Node.js / Prisma:
DATABASE_URL - Django:
POSTGRES_HOST,POSTGRES_DB,POSTGRES_USER,POSTGRES_PASSWORD(PostgreSQL) - Rails / Other:
DATABASE_URL(always included)
View all injected variables on the Environment Variables page → Database tab.
Migrations
AODE detects your migration tool and shows a Run button on the project Database card:
- Prisma →
npx prisma db push - Laravel →
php artisan migrate --force(also runs automatically on startup) - Django →
python manage.py migrate
Sharing & Deleting
- Multiple projects can share the same database. Choose Use Existing when enabling
- When deleting a project, you choose whether to keep or delete the database
- Shared databases are always kept until the last project is removed
Database Browser
The Database page in the sidebar lets you browse tables, create new databases and tables visually, run SQL queries, and export data as CSV or JSON.