-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #288 from NTIA/run-migrations
Run Django migrations and specify default type for auto-created primary keys
- Loading branch information
Showing
3 changed files
with
57 additions
and
0 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
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,31 @@ | ||
# Generated by Django 3.2.25 on 2024-05-10 13:34 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("status", "0003_auto_20211217_2229"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="location", | ||
name="latitude", | ||
field=models.DecimalField( | ||
decimal_places=6, | ||
help_text="Latitude of the sensor in decimal degrees (WGS84).", | ||
max_digits=9, | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="location", | ||
name="longitude", | ||
field=models.DecimalField( | ||
decimal_places=6, | ||
help_text="Longitude of the sensor in decimal degrees (WGS84).", | ||
max_digits=9, | ||
), | ||
), | ||
] |
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 3.2.25 on 2024-05-10 13:34 | ||
|
||
import datetime | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("tasks", "0005_acquisition_data_encrypted"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="taskresult", | ||
name="duration", | ||
field=models.DurationField( | ||
default=datetime.timedelta(0), | ||
help_text="Task duration, in %H:%M:%S.%f format", | ||
), | ||
), | ||
] |