spryker / index-generator
IndexGenerator module
1.1.1
2021-10-08 19:54 UTC
Requires
- php: >=7.3
- spryker/kernel: ^3.30.0
- spryker/propel: ^3.21.0
- spryker/symfony: ^3.0.0
Requires (Dev)
This package is auto-updated.
Last update: 2025-05-07 13:06:32 UTC
README
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