Skip to content

Commit

Permalink
removed redundant index
Browse files Browse the repository at this point in the history
the disk/directory index on the Media table is already handled by the disk/directory/filename/extension index
  • Loading branch information
frasmage committed Aug 17, 2020
1 parent e85f05b commit a5647d6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion migrations/2016_06_27_000000_create_mediable_tables.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public function up()
$table->integer('size')->unsigned();
$table->timestamps();

$table->index(['disk', 'directory']);
$table->unique(['disk', 'directory', 'filename', 'extension']);
$table->index('aggregate_type');
});
Expand Down

0 comments on commit a5647d6

Please sign in to comment.