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:
parent
6753b4544c
commit
e2c2be7d71
@ -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)')]);
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user