mirror of
https://github.com/AudebertAdrien/ft_transcendence.git
synced 2026-11-10 00:57:07 +01:00
add list selection players et match, need to move it on the side and use a icone
This commit is contained in:
19
pong/game/migrations/0002_alter_match_winner.py
Normal file
19
pong/game/migrations/0002_alter_match_winner.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# Generated by Django 5.0.7 on 2024-07-31 16:58
|
||||
|
||||
import django.db.models.deletion
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('game', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='match',
|
||||
name='winner',
|
||||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='won_matches', to='game.player'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user