[Illuminate\Database\QueryException]
SQLSTATE[HY000]: General error: 1 index more_than already exists (SQL: create index `more_than` on "discounts" ("more_than"))
Moving the index step to its own line (and removing the backticks, ha ha) works fine:
$table->index('more_than');
But the following line works just fine (backticks and all):
I have the following line in a generated migration:
Which is in turn generating the following error:
Moving the index step to its own line (and removing the backticks, ha ha) works fine:
But the following line works just fine (backticks and all):