[GH-ISSUE #857] SQLite "database" not used in config #583

Closed
opened 2026-02-26 02:33:37 +03:00 by kerem · 0 comments
Owner

Originally created by @ponchofiesta on GitHub (Nov 20, 2018).
Original GitHub issue: https://github.com/koel/koel/issues/857

In config/database.php the DB_DATABASE env variable is not used. It should be like this to get a custom path working:

        'sqlite-e2e' => [
            'driver'   => 'sqlite',
            'database' => env('DB_DATABASE', __DIR__.'/../database/e2e.sqlite'),   // <--- 
            'prefix'   => '', 
        ],
Originally created by @ponchofiesta on GitHub (Nov 20, 2018). Original GitHub issue: https://github.com/koel/koel/issues/857 In *config/database.php* the `DB_DATABASE` env variable is not used. It should be like this to get a custom path working: ```php 'sqlite-e2e' => [ 'driver' => 'sqlite', 'database' => env('DB_DATABASE', __DIR__.'/../database/e2e.sqlite'), // <--- 'prefix' => '', ], ```
kerem closed this issue 2026-02-26 02:33:37 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#583
No description provided.