Comments
1 comment
-
You can do this by the setting the comparison options (which are applied when the migration script is generated):
https://documentation.red-gate.com/sca/developing-databases/concepts/advanced-concepts/comparison-and-script-generation-options
If you don't want to recreate the baseline, you can always edit it manually.
If I understood you correctly, you don't want any permissions and you are excluding roles in your filter, in that case the best option is to enable the IgnorePermissions option.
There's a similar option, IgnoreUserPermissionsandRoleMemberships, which is useful if you want to have permissions in your migration scripts but don't want to have users, in that case you would assign permissions to roles and just filter out users.
Add comment
Please sign in to leave a comment.
Examples of filter items in the Filter.scpf file:
Example: No filter (full inclusion):
Example Complete filter (full exclusion):
Is there something that I can set in the filter to exclude the permission assignments of objects in the baseline script? Users and roles vary greatly between the different environments.