mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +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
|
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 {
|
Schema::table('artists', static function (Blueprint $table): void {
|
||||||
$table->string('name', pow(2, 16) - 32)->change();
|
$table->string('name', pow(2, 16) - 32)->change();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue