[GH-ISSUE #1435] Drop artists_name_unique fails in postgres #820

Closed
opened 2026-02-26 02:34:21 +03:00 by kerem · 1 comment
Owner

Originally created by @Phat-Loc on GitHub (Mar 22, 2022).
Original GitHub issue: https://github.com/koel/koel/issues/1435

The migration code that drops artists_name_unique fails in postgres which causes the php artisan koel:init --no-assets to fail.

github.com/koel/koel@687cc9f528/database/migrations/2021_12_06_164648_increase_string_columns_length.php (L12)

Should be use

$table->dropUnique('artists_name_unique');

Originally created by @Phat-Loc on GitHub (Mar 22, 2022). Original GitHub issue: https://github.com/koel/koel/issues/1435 The migration code that drops artists_name_unique fails in postgres which causes the `php artisan koel:init --no-assets` to fail. https://github.com/koel/koel/blob/687cc9f5286b7192e11e9e104a345acd9f15a27d/database/migrations/2021_12_06_164648_increase_string_columns_length.php#L12 Should be use $table->dropUnique('artists_name_unique');
kerem closed this issue 2026-02-26 02:34:21 +03:00
Author
Owner

@phanan commented on GitHub (Apr 13, 2022):

Thanks, I will look into this.

<!-- gh-comment-id:1097751442 --> @phanan commented on GitHub (Apr 13, 2022): Thanks, I will look into this.
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#820
No description provided.