My migrations table has the last applied schema migrations, that might give you a tip:
| 203 | 2021_03_11_003540_rename_toner_table | 18 |
| 204 | 2021_03_11_003713_rename_printer_columns | 18 |
| 205 | 2020_12_14_091314_create_port_groups_table | 19 |
| 206 | 2021_02_09_122930_migrate_to_utf8mb4 | 19 |
| 207 | 2020_12_14_091314_create_port_group_port_table | 20 |
| 208 | 2021_04_08_151101_add_foreign_keys_to_port_group_port_table | 20 |
+-----+----------------------------------------------------------------------------+-------+
If you have that in a librenms.sql export file, you can grep the INSERT line out, break it all in to the new lines and print out the last 10 for easy reading:
$ egrep '^INSERT INTO `migrations`' librenms.sql | sed -e 's/),/),\n/g' | tail -10
(199,'2021_02_08_224355_fix_invalid_dates',14),
(200,'2021_02_21_203415_location_add_fixed_coordinates_flag',15),
(201,'2021_03_17_160729_service_templates_cleanup',16),
(202,'2021_03_26_014054_change_cache_to_mediumtext',17),
(203,'2021_03_11_003540_rename_toner_table',18),
(204,'2021_03_11_003713_rename_printer_columns',18),
(205,'2020_12_14_091314_create_port_groups_table',19),
(206,'2021_02_09_122930_migrate_to_utf8mb4',19),
(207,'2020_12_14_091314_create_port_group_port_table',20),
(208,'2021_04_08_151101_add_foreign_keys_to_port_group_port_table',20);