-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Journalize project attributes #11741
Journalize project attributes #11741
Conversation
03d0093
to
5dfb6db
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this is not done yet. But I gave the code a glance over.
4a39d12
to
50874b7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
General structure is looking good, @cbliard and what I have added are either smaller things or points triggered by the PR but not originating in it. For the later, we'd have to decide if they are valid and if so, when to do them.
db/migrate/20221202130039_fill_project_journals_with_existing_data.rb
Outdated
Show resolved
Hide resolved
db/migrate/20221202130039_fill_project_journals_with_existing_data.rb
Outdated
Show resolved
Hide resolved
@ulferts it's available for review when you have time. |
In #11741 (comment) Jens suggested to remove `activity_type` and rely on `journalized_type` instead as there is a 1:1 relationship between them. `activity_type` was introduced to differentiate between different types of activity for the same journalized model (e.g. creation vs editing), but this field is not used in practice.
In #11741 (comment) Jens suggested to remove `activity_type` and rely on `journalized_type` instead as there is a 1:1 relationship between them. `activity_type` was introduced to differentiate between different types of activity for the same journalized model (e.g. creation vs editing), but this field is not used in practice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My "Request for changes" is more a heads up (see below). The PR is good otherwise. Thanks for going the extra mile on my non related pointers.
db/migrate/20221202130039_fill_project_journals_with_existing_data.rb
Outdated
Show resolved
Hide resolved
3f50ff5
to
ad45127
Compare
ad45127
to
2cc0a43
Compare
OP #45081