fix: broken migration

This commit is contained in:
Phan An 2020-11-14 19:12:43 +01:00
parent c64e172924
commit febd953b05

View file

@ -9,7 +9,9 @@ class ChangeArtistNameLength extends Migration
public function up(): void
{
Schema::table('artists', static function (Blueprint $table): void {
$table->dropIndex('artists_name_unique');
$table->text('name')->change();
$table->unique(['name']);
});
}