-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
44 additions
and
18 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
...ederation/main/migrations/0002_alter_player_diagnosis_alter_player_discipline_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Generated by Django 4.2.8 on 2023-12-18 13:18 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('main', '0001_initial'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='player', | ||
name='diagnosis', | ||
field=models.ForeignKey(help_text='Диагноз', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='player_diagnosis', to='main.diagnosis', verbose_name='Диагноз'), | ||
), | ||
migrations.AlterField( | ||
model_name='player', | ||
name='discipline', | ||
field=models.ForeignKey(help_text='Дисциплина', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='player_disciplines', to='main.discipline', verbose_name='Дисциплина'), | ||
), | ||
migrations.AlterField( | ||
model_name='staffteammember', | ||
name='staff_member', | ||
field=models.ForeignKey(help_text='Сотрудник', on_delete=django.db.models.deletion.CASCADE, to='main.staffmember', verbose_name='Сотрудник'), | ||
), | ||
migrations.AlterField( | ||
model_name='team', | ||
name='city', | ||
field=models.ForeignKey(help_text='Город откуда команда', on_delete=django.db.models.deletion.CASCADE, to='main.city', verbose_name='Город откуда команда'), | ||
), | ||
migrations.AlterField( | ||
model_name='team', | ||
name='discipline_name', | ||
field=models.ForeignKey(help_text='Дисциплина команды', on_delete=django.db.models.deletion.CASCADE, to='main.disciplinename', verbose_name='Дисциплина команды'), | ||
), | ||
migrations.AlterField( | ||
model_name='team', | ||
name='staff_team_member', | ||
field=models.ForeignKey(help_text='Сотрудник команды', on_delete=django.db.models.deletion.CASCADE, to='main.staffteammember', verbose_name='Сотрудник команды'), | ||
), | ||
] |
18 changes: 0 additions & 18 deletions
18
adaptive_hockey_federation/main/migrations/0003_alter_player_patronymic.py
This file was deleted.
Oops, something went wrong.