Adding migration for added comment field#756
Open
derrickpersson wants to merge 1 commit into
Open
Conversation
There was a problem hiding this comment.
Pull request summary created by Squire AI
Summary
This pull request introduces a new boolean column 'hasMadeChanges' to the Comment entity in the codebase, with a default value of false. To support this change, a corresponding database migration has been created to add the 'has_made_changes' field to the 'comment' table. The intent behind these changes is to track whether any modifications have been made to comments after their initial creation.
File Summary
File Changes:
comment.entity.ts: Added a new column 'hasMadeChanges' of type boolean with a default value of false to the Comment entity.
New Files:
1731100863234-addingFieldToTrackChangesMadeAfterComments.ts: Added a migration to the database to include a new boolean field 'has_made_changes' in the 'comment' table, with a default value of false.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Summary
This pull request introduces a new boolean column 'hasMadeChanges' to the comment entity in the code base and adds a corresponding migration file to update the database schema. This addition is intended to track modifications made to comments, with the default value set to false. These changes ensure that any alterations to comments can be accurately monitored and identified.
1ccf51c...f535f72
Changes
File Summary
File Changes:
comment.entity.ts: Added a new boolean column 'hasMadeChanges' with default value as false to track comment modifications.New Files:
1731100863234-addingFieldToTrackChangesMadeAfterComments.ts: A new migration file was added to track changes in comments by adding a 'has_made_changes' boolean field to the 'comment' table.1ccf51c...f535f72
Type of Change
How Has This Been Tested?
Checklist