spryker/index-generator

IndexGenerator module


README

Latest Stable Version Minimum PHP Version

Postgres does not auto create indexes for foreign-key columns. This module provides a console command to create schema files with index definitions for all tables and their foreign-key columns which do not have an index definition.

Installation

composer require spryker/index-generator

Add the IndexGeneratorConsole to your ConsoleDependencyProvider and check the console command help page with vendor/bin/console propel:postgres-indexes:generate -h

Documentation

Module Documentation