-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
ref(integrations): Move methods to Managers #29159
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
Conversation
src/sentry/models/grouplink.py
Outdated
|
|
||
| group_id = BoundedBigIntegerField() | ||
| project_id = BoundedBigIntegerField(db_index=True) | ||
| group = FlexibleForeignKey("sentry.Group") |
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.
does this require a migration? https://develop.sentry.dev/database-migrations/#altering-column-types
de1c1dc to
598929e
Compare
markstory
left a comment
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.
Migration seems good as it is only state changes.
c2cc183 to
d1a9f72
Compare
|
This PR has a migration; here is the generated SQL BEGIN;
--
-- Custom state/database change combination
--
COMMIT; |
b83620d to
44398cb
Compare
c2a86ce to
b392b59
Compare
|
Hi @wedamija I haven't gotten around to this PR in a while can you help me see if there's anything else I need to do? |
wedamija
left a comment
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.
This looks good to me, although we'll need to regenerate the migration to fix the conflicts
|
I think this is blocked by |
It's because the state in the migration doesn't match the state on the models - probably caused by adding |
b92f943 to
e11f46a
Compare
|
@wedamija It worked! Thanks |
Refactor model methods for
GroupLinkandExternalIssueand put them in Manager classes.