Sorry, my question might be unclear. It is not about the user object, but flyway tool user's selection of uncommitted changed schemas, all of the uncommitted schemas were automatically made into the migration script, I cannot generate the migration script only including my selection of the uncommitted.
Answers
Yes it is, please the default comparison settings below, users are ignored by default. Largely due to the expectation that you do not wish to graduate your dev users to prod.
https://documentation.red-gate.com/fd/sql-server-comparison-options-138347108.html
Please could you check if there are any dependencies between these objects?
Including dependencies is enabled by default which could be undermining your efforts.
https://documentation.red-gate.com/fd/sql-server-comparison-options-138347108.html
If that's not the origin then I'd be happy to raise a support ticket on this for you so we can work through it together.