mirror of
https://github.com/koel/koel.git
synced 2026-04-25 16:56:02 +03:00
[GH-ISSUE #1099] Clarification on the difference between sqlite-e2e and sqlite-persistent #648
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#648
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ysmu on GitHub (Oct 7, 2019).
Original GitHub issue: https://github.com/koel/koel/issues/1099
Hey, thanks for contributing to Koel! To save time for both of us, please make sure these checkboxes are checked before submitting the issue:
All checked? Now also make sure your issue
Version: latest master (
35efc6b1a3)I'm slightly confused as to which of the
sqlite-e2eandsqlite-persistentis the correct database driver for sqlite. Looking at this:github.com/phanan/koel@35efc6b1a3/app/Console/Commands/InitCommand.php (L102-L111)It seems like
sqlite-e2eis the right one. But it's missing the fix from here:github.com/phanan/koel@35efc6b1a3/app/Traits/SupportsDeleteWhereIDsNotIn.php (L30)I'm also not sure why
DB_DATABASEwas used differently (one used as an absolute path and the other one relative path):github.com/phanan/koel@35efc6b1a3/config/database.php (L42-L52)As I recently encountered the "too many parameters" issue with
sqlite-e2e, I think I should switch tosqlite-persistent, although I would prefer ifDB_DATABASEis also an absolute path like it is insqlite-e2e. And out of curiosity, what does e2e stand for? I was thinking of end-to-end but sqlite end-to-end doesn't make much sense. Is it for testing?@phanan commented on GitHub (Oct 7, 2019):
Yes,
sqlite-e2eis the database used for end-to-end testing, even though it's now much obsolete, as I'm planning to switch to Cypress and its server mocks.sqlite-persistentis what you want to use (even though personally I'd recommend to pick a database driver that is better supported by Laravel e.g. MySQL.Also, I totally agree re: absolute path. Changing it will be BC breaking though.
@ysmu commented on GitHub (Oct 7, 2019):
Thanks for the clarification. I like sqlite for its portability but I'll try MySQL. I should have discovered this project earlier so we can make the change to absolute path before v4.0 but I guess it's a bit late 😛