-
Notifications
You must be signed in to change notification settings - Fork 100
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
1 parent
02c2c43
commit e11b6f1
Showing
5 changed files
with
175 additions
and
131 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
api_v2/migrations/0006_alter_weapon_range_long_alter_weapon_range_normal_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 5.1.1 on 2024-10-09 16:48 | ||
|
||
import django.core.validators | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('api_v2', '0005_size_distance_unit'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='weapon', | ||
name='range_long', | ||
field=models.FloatField(blank=True, help_text='Used to measure distance.', null=True, validators=[django.core.validators.MinValueValidator(0)]), | ||
), | ||
migrations.AlterField( | ||
model_name='weapon', | ||
name='range_normal', | ||
field=models.FloatField(blank=True, help_text='Used to measure distance.', null=True, validators=[django.core.validators.MinValueValidator(0)]), | ||
), | ||
migrations.AlterField( | ||
model_name='weapon', | ||
name='range_reach', | ||
field=models.FloatField(blank=True, help_text='Used to measure distance.', null=True, validators=[django.core.validators.MinValueValidator(0)]), | ||
), | ||
] |
28 changes: 28 additions & 0 deletions
28
api_v2/migrations/0007_rename_range_long_weapon_long_range_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,28 @@ | ||
# Generated by Django 5.1.1 on 2024-10-09 16:49 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('api_v2', '0006_alter_weapon_range_long_alter_weapon_range_normal_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name='weapon', | ||
old_name='range_long', | ||
new_name='long_range', | ||
), | ||
migrations.RenameField( | ||
model_name='weapon', | ||
old_name='range_normal', | ||
new_name='range', | ||
), | ||
migrations.RenameField( | ||
model_name='weapon', | ||
old_name='range_reach', | ||
new_name='reach', | ||
), | ||
] |
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
Oops, something went wrong.