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

Support DB_DSN for Craft 3.4+ Installs #38

Open
jalendport opened this issue Mar 23, 2020 · 2 comments
Open

Support DB_DSN for Craft 3.4+ Installs #38

jalendport opened this issue Mar 23, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@jalendport
Copy link

In Craft 3.4, the ENV variables changed from using DB_DRIVER, DB_SERVER, DB_DATABASE, and DB_PORT to define your database config to just DB_DSN.

It would be great if Swiff could check for and use that value first and then fallback to searching for the old ENV variables (so older installs would continue to be supported).

@ben-rogerson
Copy link
Member

Hey Jalen, sounds like a great improvement - I'm fairly busy with twin at the moment but I'll see what I can do.

@ben-rogerson ben-rogerson added the enhancement New feature or request label Mar 25, 2020
@wihodges
Copy link

Yes any way to overide the .env database settings - would be nice. Just switched to DDEV docker so accessing DB is different location than where the app accesses it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants