Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.

Conversation

@mackosx
Copy link
Collaborator

@mackosx mackosx commented Apr 10, 2023

Description of the Change

Part 2 of https://app.shortcut.com/greenspace/story/77179/step-2-read-from-jti-instead-of-token-in-fork

Discussed below around do we need to be concerned about the unique -> null + blank migration?
https://app.shortcut.com/greenspace/story/77179/step-2-read-from-jti-instead-of-token-in-fork#activity-78426

Checklist

  • Remove double write
  • Add migration
  • Increment version

@mackosx mackosx requested a review from ryanluker April 10, 2023 18:48
@ryanluker
Copy link

@mackosx I added the thread for future reference.

related_name="%(app_label)s_%(class)s",
)
token = models.TextField(unique=True)
token = models.TextField(unique=True, null=True)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want unique here anymore? I would have thought this would be null=True and blank=True

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

blank just controls how it appears in the GSAdmin I think.. but I can update both!

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mackosx
Copy link
Collaborator Author

mackosx commented Apr 10, 2023

@ryanluker Going to merge this one so I can update the grnspace one. I think we are safe to merge that one to dev rightaway?

@ryanluker
Copy link

@ryanluker Going to merge this one so I can update the grnspace one. I think we are safe to merge that one to dev rightaway?

Sure at this point I think that is safe enough!

@mackosx mackosx merged commit bd7494a into master Apr 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants