mirror of
https://github.com/koel/koel
synced 2024-11-27 22:40:26 +00:00
fix: broken migration
This commit is contained in:
parent
c64e172924
commit
febd953b05
1 changed files with 2 additions and 0 deletions
|
@ -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']);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue