给图片表增加索引

This commit is contained in:
Wisp X 2022-04-27 15:58:58 +08:00
parent 3cdf495bef
commit e44fabbd31

View File

@ -18,7 +18,6 @@ return new class extends Migration
$table->index('md5');
$table->index('sha1');
$table->index('created_at');
$table->index('uploaded_ip');
});
}
@ -34,7 +33,6 @@ return new class extends Migration
$table->dropIndex('md5');
$table->dropIndex('sha1');
$table->dropIndex('created_at');
$table->dropIndex('uploaded_ip');
});
}
};