diff --git a/database/migrations/2021_12_06_164648_increase_string_columns_length.php b/database/migrations/2021_12_06_164648_increase_string_columns_length.php index 862da41e..831f42f2 100644 --- a/database/migrations/2021_12_06_164648_increase_string_columns_length.php +++ b/database/migrations/2021_12_06_164648_increase_string_columns_length.php @@ -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(); });