How do we to set comments as a Mandatory field before commiting/ pushing the code?
Comments
4 comments
-
Hello,
Thank you for your inquiry into SQL Source Control.
SQL Source Control does not have a way of setting the comments as a mandatory environment. However, there may be an option to do this within the version control that SQL Source Control is currently linked to.
I am providing the link to our UserVoice forum to vote on this topic to help raise it to the attention of our dev team.
https://redgate.uservoice.com/forums/39019-sql-source-control/suggestions/1582587-require-comments-pre-commit
Best,
Dustin
-
@SivaJ - out of interest, which VCS are you using?
-
GitLab
-
@SivaJ - You could look into enforcing this via GitLab - https://docs.gitlab.com/ee/user/project/repository/push_rules.html.
Flyway is the next generation of SQL Source Control, and we have made comments mandatory in Flyway Desktop. You can learn more and try this out at https://forum.red-gate.com/discussion/88434/flyway-desktop-preview-available.
Thank you!
Add comment
Please sign in to leave a comment.