This module demonstrates how to use config migrations. See docs at https://www.baumrock.com/en/processwire/modules/rockmigrations/docs/config-migrations/
It shows:
- how to create fields via config migrations
- how to create templates via config migrations
- that config migrations are automatically run when the module is installed
- how to easily delete all fields and templates during uninstall