mirror of
https://github.com/koel/koel.git
synced 2026-04-25 16:56:02 +03:00
[GH-ISSUE #675] Error migrating Database on install #481
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#481
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 @Mattssn111 on GitHub (Nov 2, 2017).
Original GitHub issue: https://github.com/koel/koel/issues/675
Hello, I have gone through two different guides and everything seems to be fine with the installation, I get through almost everything but then when it comes time to run
php artisan koel:initit tries to run the migration then the following occurs, I have tried this multiple times. I am running Centos 7.@blackstar0169 commented on GitHub (Nov 28, 2017):
Hello, I have the same issue.
php artisan install finished with success.
Runing on Debian 9, nginx 1.6.2, mysql ver 14.14 Distrib 5.5.58
@blackstar0169 commented on GitHub (Nov 28, 2017):
Ok I found the issue.
In database/migrations/2017_04_29_025836_rename_contributing_artist_id.php :
add :
$table->dropForeign(['contributing_artist_id']);before the$table->renameColumn...lineand add :
$table->foreign('artist_id')->references('id')->on('artists')->onDelete('cascade');after the$table->renameColumn...lineI hope it will work for you.