Skip to content

Commit

Permalink
Properly add credits column this time
Browse files Browse the repository at this point in the history
  • Loading branch information
laggron42 committed Feb 18, 2025
1 parent 59e4cac commit db8bab5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,14 @@ class Migration(migrations.Migration):
default=False, help_text="Hides the event from user commands"
),
),
(
"credits",
models.CharField(
null=True,
help_text="Author of the special event artwork",
max_length=64,
),
),
],
options={
"db_table": "special",
Expand Down
3 changes: 3 additions & 0 deletions admin_panel/bd_models/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@ class Special(models.Model):
help_text="Whether balls of this event can be traded", default=True
)
hidden = models.BooleanField(help_text="Hides the event from user commands", default=False)
credits = models.CharField(
max_length=64, help_text="Author of the special event artwork", null=True
)

def __str__(self) -> str:
return self.name
Expand Down

0 comments on commit db8bab5

Please sign in to comment.