Skip to content

Conversation

MadMikeyB
Copy link
Contributor

Per my comment on PR #3698

This PR resolves that issue - though I do have a strong feeling that this could be done a lot better, I simply didn't want to venture into laravel/framework to change the database_path() helper to check for an env('DB_PATH') - though I would imagine that would be somewhat cleaner.

@GrahamCampbell
Copy link
Member

We already have a way to set this.

@MadMikeyB
Copy link
Contributor Author

@GrahamCampbell I know that we have database_path() but there are errors for certain scenarios..

Please see my linked comment for the example?

@GrahamCampbell
Copy link
Member

Right, but the env allows us to bypass calling the database_path function.

@GrahamCampbell
Copy link
Member

We also can't make assumptions about the filename.

@GrahamCampbell
Copy link
Member

Thanks for the PR, but I'd suggest you just tweak your own apps to get them how you like them. Everyone likes things setup slightly differently.

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

Successfully merging this pull request may close these issues.

2 participants