mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-20 08:52:15 +00:00
added indexes to the database
This commit is contained in:
@@ -15,7 +15,7 @@ class CreateTrafficTable extends Migration
|
||||
{
|
||||
Schema::create('traffic', function (Blueprint $table) {
|
||||
$table->uuid('id');
|
||||
$table->uuid('user_id');
|
||||
$table->uuid('user_id')->index();
|
||||
$table->bigInteger('upload')->default(0);
|
||||
$table->bigInteger('download')->default(0);
|
||||
$table->timestamps();
|
||||
|
||||
Reference in New Issue
Block a user