deployado_connect_database
Connects an app to a database by injecting the connection URL as an environment variable, so the application can access the database at runtime.
Instructions
Connect an app to a database. This injects the connection URL as an environment variable into the app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | App ID (UUID) to connect | |
| driver | No | Database driver (default: postgres) | |
| use_ssl | No | Use SSL for connection | |
| database_id | Yes | Database ID (UUID) | |
| env_var_name | No | Environment variable name for the connection URL (default: DATABASE_URL) |