I created a solution and added commands for existing entities.
There are two issues:
1. When I check the commands in the entity to be migrated, all the columns are added and I uncheck /Include all objects/ and /Include table metadata/, I originally wanted to add only one command, when I remove the entity in the solution and add it again. When I removed the entity from the solution and added it again, it was also unchecked and the command appeared in the entity for that solution.
2. Importing a solution with commands into another environment fails.