fix a bug

This commit is contained in:
Wisp X 2022-04-27 16:30:44 +08:00
parent e44fabbd31
commit cff42566c8

View File

@ -29,10 +29,10 @@ return new class extends Migration
public function down() public function down()
{ {
Schema::table('images', function (Blueprint $table) { Schema::table('images', function (Blueprint $table) {
$table->dropIndex('key'); $table->dropIndex('images_key_index');
$table->dropIndex('md5'); $table->dropIndex('images_md5_index');
$table->dropIndex('sha1'); $table->dropIndex('images_sha1_index');
$table->dropIndex('created_at'); $table->dropIndex('images_created_at_index');
}); });
} }
}; };