-
-
Notifications
You must be signed in to change notification settings - Fork 775
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
purge: ptokens #9485
purge: ptokens #9485
Conversation
f2514fc
to
595ad60
Compare
492831c
to
a9f5993
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.
LGTM, but let's make sure the tests are green before merging -- it looks like we need to sort out the fixtures/create a migration to drop the !null
constraint on profile
->tokens
# migrations.AddField( | ||
# model_name='activity', | ||
# name='ptoken', | ||
# field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='ptoken_activities', to='ptokens.PersonalToken'), | ||
# ), | ||
# migrations.AddField( | ||
# model_name='activity', | ||
# name='redemption', | ||
# field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='ptokens.RedemptionToken'), | ||
# ), |
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.
Is there a reason to keep this around? I'd prefer to delete unused code over commenting it out and leaving it in. We can always pull this back from git if it's needed.
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.
So this is only cause it's a migration which are auto generated !
Ideally we wouldn't want to change this but when we remove a django it causes travis to complain as it runs through the boot
7054ee1
to
cbe78d3
Compare
Description
Removes personal tokens
Refers/Fixes
GITC-409
Flows Tested