Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[Request] Migration: index to columns that generate timestamps #4728
Timestamps columns that are created with timestamps(), nullableTimestamps() and softDeletes() methods are then used in queries that have conditions that uses these columns. For better SQL performance it will be better to set index to that columns. Framework could help with it by automaticly setting index to that columns in their creation in migrations. This functional can be provided with the opportunity to ignore index setting while creating timestamps.