Data Migration file creation

Can anybody help me in understanding how migrations files are created? https://github.com/GoAdminGroup/go-admin/tree/master/data/migrations

Is there any command that can be used? I use postgres