Resolve "Resq - add index for customer first name and last name" #1288

Merged
korina.cordero merged 1 commit from 415-resq-add-index-for-customer-first-name-and-last-name into master 2020-05-22 05:53:20 +00:00
2 changed files with 8 additions and 2 deletions

View file

@ -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
{

View file

@ -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
{