How to recreate the partition table of MMC device 0

So, I had a problem while installing a new image on my iMX6 board, and my partition table is empty now.
How do I recreate the partition table in the u-boot?

This was my partition table before.

And that’s how it is now.

Please if anyone knows how to fix it the way it was I would be very grateful.

When you use Toradex Easy Installer to flash Toradex provided OS image or image built for using with Toradex Easy Installer - partitioning will be done automatically according to data provided by image.json file included in the image.