6

How can I create partial indexes using Laravel 5.2's Schema Builder?

For instance, instead of the query create index alternate_listing_not_null on listings(alternate_listings_id) where alternate_listings_id is not null how would I do this with Schema Builder syntax?

I'm using PostgreSQL 9.4.

eComEvo
  • 11,669
  • 26
  • 89
  • 145

0 Answers0