Merge branch '415-resq-add-index-for-customer-first-name-and-last-name' into 'master'
Resolve "Resq - add index for customer first name and last name" Closes #415 See merge request jankstudio/resq!477
This commit is contained in:
commit
761476134c
2 changed files with 8 additions and 2 deletions
|
|
@ -10,7 +10,11 @@ use App\Ramcar\CustomerClassification;
|
|||
|
||||
/**
|
||||
* @ORM\Entity
|
||||
* @ORM\Table(name="customer", indexes={@ORM\Index(name="phone_mobile_idx", columns={"phone_mobile"})})
|
||||
* @ORM\Table(name="customer", indexes={
|
||||
* @ORM\Index(name="phone_mobile_idx", columns={"phone_mobile"}),
|
||||
* @ORM\Index(columns={"first_name"}, flags={"fulltext"}),
|
||||
* @ORM\Index(columns={"last_name"}, flags={"fulltext"})
|
||||
* })
|
||||
*/
|
||||
class Customer
|
||||
{
|
||||
|
|
|
|||
|
|
@ -15,7 +15,9 @@ use App\Ramcar\ServiceType;
|
|||
|
||||
/**
|
||||
* @ORM\Entity
|
||||
* @ORM\Table(name="job_order")
|
||||
* @ORM\Table(name="job_order", indexes={
|
||||
* @ORM\Index(name="date_schedule_idx", columns={"date_schedule"})
|
||||
* })
|
||||
*/
|
||||
class JobOrder
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue