forked from Kamva-Academy/Kamva-Backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change PLayerHistory model for jump feature
- Loading branch information
1 parent
6742335
commit 02ea58f
Showing
8 changed files
with
83 additions
and
28 deletions.
There are no files selected for viewing
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
29 changes: 29 additions & 0 deletions
29
.../migrations/0112_rename_reverse_enter_playerhistory_is_edge_passed_in_reverse_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,29 @@ | ||
# Generated by Django 4.1.3 on 2024-05-11 22:41 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('fsm', '0111_alter_registrationform_has_certificate'), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name='playerhistory', | ||
old_name='reverse_enter', | ||
new_name='is_edge_passed_in_reverse', | ||
), | ||
migrations.AlterField( | ||
model_name='playerhistory', | ||
name='entered_by_edge', | ||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='players_histories', to='fsm.edge'), | ||
), | ||
migrations.AlterField( | ||
model_name='playerhistory', | ||
name='state', | ||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='players_histories', to='fsm.state'), | ||
), | ||
] |
23 changes: 23 additions & 0 deletions
23
apps/fsm/migrations/0113_rename_entered_by_edge_playerhistory_passed_edge_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,23 @@ | ||
# Generated by Django 4.1.3 on 2024-05-11 22:53 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('fsm', '0112_rename_reverse_enter_playerhistory_is_edge_passed_in_reverse_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name='playerhistory', | ||
old_name='entered_by_edge', | ||
new_name='passed_edge', | ||
), | ||
migrations.AlterField( | ||
model_name='playerhistory', | ||
name='is_edge_passed_in_reverse', | ||
field=models.BooleanField(blank=True, default=False, null=True), | ||
), | ||
] |
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
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
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
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
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