Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong DB_SCHEME when upsunifying a Laravel app with PostgreSQL #234

Open
thomasdiluccio opened this issue Sep 18, 2024 · 0 comments
Open

Comments

@thomasdiluccio
Copy link
Contributor

Laravel internal comes out-of-the-box with a definition for PostgreSQL database. The key defined in their config/database.php is pgsql

CleanShot 2024-09-18 at 17 47 02@2x

CleanShot 2024-09-18 at 17 47 14@2x

In our .environment file, we define export DB_SCHEME="postgresql". It should be pgsql to match Laravel convention.

export DB_SCHEME="pgsql"

# Set Laravel-specific environment variables
export DB_CONNECTION="$DB_SCHEME"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant