-
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
0b151c9
commit e742ec8
Showing
10 changed files
with
9,452 additions
and
5,106 deletions.
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
api_v2/migrations/0002_creatureactionattack_distance_unit_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,39 @@ | ||
# Generated by Django 5.1.1 on 2024-10-09 16:17 | ||
|
||
import django.core.validators | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('api_v2', '0001_initial'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='creatureactionattack', | ||
name='distance_unit', | ||
field=models.CharField(blank=True, choices=[('feet', 'feet'), ('miles', 'miles')], help_text='What distance unit the relevant field uses.', max_length=20, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='creatureaction', | ||
name='legendary_cost', | ||
field=models.SmallIntegerField(blank=True, default=None, help_text='null if not legendary, else, the number of legendary actions this costs.', null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='creatureactionattack', | ||
name='long_range_ft', | ||
field=models.FloatField(blank=True, help_text='Used to measure distance.', null=True, validators=[django.core.validators.MinValueValidator(0)]), | ||
), | ||
migrations.AlterField( | ||
model_name='creatureactionattack', | ||
name='range_ft', | ||
field=models.FloatField(blank=True, help_text='Used to measure distance.', null=True, validators=[django.core.validators.MinValueValidator(0)]), | ||
), | ||
migrations.AlterField( | ||
model_name='creatureactionattack', | ||
name='reach_ft', | ||
field=models.FloatField(blank=True, help_text='Used to measure distance.', null=True, validators=[django.core.validators.MinValueValidator(0)]), | ||
), | ||
] |
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.