Update ID fields in models to use 255 character length for Game, DropBenefit, and TimeBasedDrop
This commit is contained in:
parent
06d1cebdac
commit
41dd1a2694
2 changed files with 31 additions and 3 deletions
|
|
@ -60,7 +60,7 @@ class Organization(models.Model):
|
|||
class Game(models.Model):
|
||||
"""Represents a game on Twitch."""
|
||||
|
||||
id = models.CharField(max_length=64, primary_key=True, verbose_name="Game ID")
|
||||
id = models.CharField(max_length=255, primary_key=True, verbose_name="Game ID")
|
||||
slug = models.CharField(
|
||||
max_length=200,
|
||||
blank=True,
|
||||
|
|
@ -290,7 +290,7 @@ class DropBenefit(models.Model):
|
|||
"""Represents a benefit that can be earned from a drop."""
|
||||
|
||||
id = models.CharField(
|
||||
max_length=64,
|
||||
max_length=255,
|
||||
primary_key=True,
|
||||
help_text="Unique Twitch identifier for the benefit.",
|
||||
)
|
||||
|
|
@ -360,7 +360,7 @@ class TimeBasedDrop(models.Model):
|
|||
"""Represents a time-based drop in a drop campaign."""
|
||||
|
||||
id = models.CharField(
|
||||
max_length=64,
|
||||
max_length=255,
|
||||
primary_key=True,
|
||||
help_text="Unique Twitch identifier for the time-based drop.",
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue