Skip to content

Commit

Permalink
migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
jb-01 committed Dec 6, 2023
1 parent f58270a commit 73fd459
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/chigame/games/migrations/0022_tournament_created_by.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Generated by Django 4.2.4 on 2023-12-06 01:16

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
("games", "0021_alter_tournament_matches"),
]

operations = [
migrations.AddField(
model_name="tournament",
name="created_by",
field=models.ForeignKey(
null=True,
on_delete=django.db.models.deletion.SET_NULL,
related_name="created_tournaments",
to=settings.AUTH_USER_MODEL,
),
),
]

0 comments on commit 73fd459

Please sign in to comment.