1
0
mirror of https://github.com/freescout-helpdesk/freescout.git synced 2024-11-24 03:12:46 +01:00

Fix error in migration on MariaDB: Specified key was too long

This commit is contained in:
FreeScout 2018-09-18 00:37:34 -07:00
parent 6753b4544c
commit e2c2be7d71

View File

@ -39,7 +39,7 @@ class CreateCustomersTable extends Migration
// Indexes
// For ajax search
$table->index(['first_name', 'last_name']);
$table->index([DB::raw('first_name(191)'), DB::raw('last_name(191)')]);
});
}