- Added new sort order columns for tasks based on different grouping types (status, priority, phase, member). - Updated database functions to handle these new sort orders, ensuring proper task updates during sorting operations. - Implemented a migration to fix existing sort order constraint violations, ensuring data consistency across projects. - Enhanced functions to avoid sort order conflicts and maintain unique sort orders within each project.
Migrations should be executed out in the sequence specified by the filename. They should be removed once the migrations have been released to all databases.