add index to gateway id on service envelopes table
This commit is contained in:
@ -0,0 +1,2 @@
|
|||||||
|
-- CreateIndex
|
||||||
|
CREATE INDEX `service_envelopes_gateway_id_idx` ON `service_envelopes`(`gateway_id`);
|
@ -114,6 +114,7 @@ model ServiceEnvelope {
|
|||||||
|
|
||||||
@@index(created_at)
|
@@index(created_at)
|
||||||
@@index(updated_at)
|
@@index(updated_at)
|
||||||
|
@@index(gateway_id)
|
||||||
@@map("service_envelopes")
|
@@map("service_envelopes")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user