diff --git a/src/Storage/migrations/2018_08_08_100000_create_telescope_entries_table.php b/src/Storage/migrations/2018_08_08_100000_create_telescope_entries_table.php index 64c562e8e..88c43cbdc 100644 --- a/src/Storage/migrations/2018_08_08_100000_create_telescope_entries_table.php +++ b/src/Storage/migrations/2018_08_08_100000_create_telescope_entries_table.php @@ -44,7 +44,7 @@ public function up() $table->bigIncrements('sequence'); $table->uuid('uuid'); $table->uuid('batch_id'); - $table->string('family_hash')->nullable()->index(); + $table->string('family_hash')->nullable(); $table->boolean('should_display_on_index')->default(true); $table->string('type', 20); $table->longText('content'); @@ -52,6 +52,8 @@ public function up() $table->unique('uuid'); $table->index('batch_id'); + $table->index('family_hash'); + $table->index('created_at'); $table->index(['type', 'should_display_on_index']); });