Merge sqitch migrations easily. Example:
❯ sqitch-merge --verbose
Path to sqitch plan file [./sqitch.plan]: ./db/migrations/sqitch.plan
27 items found in plan
Choose range to merge from following 27 items
1. 0000000000_initial # Add schema for KEA
2. 0000000001_appschema # Add schema for KEA
3. m_0000000002_contrib_extensions_0000000003_postgis_0000000004_libphonenumber_ext_0000000005_plperlu_00
00000006_uri_ext # Merged 0000000002_contrib_extensions 0000000003_postgis 0000000004_lib
phonenumber_ext 0000000005_plperlu 0000000006_uri_ext
4. m_0000000007_types_utils_schema_0000000008_custom_types_0000000009_enums_0000000010_composite_types_00
00000011_set_types # Merged 0000000007_types_utils_schema 0000000008_custom_types 000000000
9_enums 0000000010_composite_types 0000000011_set_types
5. 0000000012_postgrest_tables # Add postgrest tables and types
6. 0000000013_independent_tables # Add independent tables: agents, brands, users
7. 0000000014_stores_table # Add stores table
8. 0000000015_managers_table # Add managers table
9. 0000000016_billings_table # Add billings table
10. 0000000017_calls_table # Add calls table
11. 0000000018_items_table # Add items table
12. 0000000019_tickets_table # Add tickets table
13. 0000000020_receipts_table # Add receipts table
14. 0000000021_tickets_receipt_id_col # Add receipt_id col to tickets table
15. 0000000022_receipt_items # Add receipt_items table
16. 0000000023_agent_tickets # Add agent_tickets table
17. 0000000024_brand_items # Add brand_items table
18. 0000000025_brand_stores # Add brand_stores table
19. 0000000026_store_tickets # Add store_tickets table
20. 0000000027_store_billings # Add store_billings table
21. 0000000028_store_receipts # Add store_receipts table
22. 0000000029_store_managers # Add store_managers table
23. 0000000030_store_calls # Add store_calls table
24. 0000000031_user_calls # Add user_calls table
25. 0000000032_user_tickets # Add user_tickets table
26. 0000000033_user_receipts # Add user_receipts table
27. 0000000034-empty # empty migration
Merge start at [1]: 5
Merge end at [27]: 26
Merging /home/diwank/github.com/keacloud/postgres/db/migrations/deploy/0000000012_postgrest_tables.sql, /
home/diwank/github.com/keacloud/postgres/db/migrations/deploy/0000000013_independent_tables.sql, /home/di