mirror of
https://github.com/koel/koel
synced 2024-11-27 22:40:26 +00:00
fix: drop artist name index before migration
This commit is contained in:
parent
8007ad0c0d
commit
4d686e25cb
1 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,10 @@ class IncreaseStringColumnsLength extends Migration
|
|||
{
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('artists', static function (Blueprint $table): void {
|
||||
$table->dropIndex('artists_name_unique');
|
||||
});
|
||||
|
||||
Schema::table('artists', static function (Blueprint $table): void {
|
||||
$table->string('name', pow(2, 16) - 32)->change();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue