This repository has been archived by the owner on Feb 4, 2021. It is now read-only.
forked from opendata-stuttgart/feinstaub-api
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Alter SensorDataValue Field "value" (#11)
* alter value field from textfield to decimalfield * updae test to test against decimal value * update migration files
- Loading branch information
1 parent
f7a2342
commit 41f8d39
Showing
3 changed files
with
23 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.11.18 on 2019-01-22 09:17 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('sensors', '0020_auto_20190122_0600'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='sensordatavalue', | ||
name='value', | ||
field=models.DecimalField(blank=True, decimal_places=11, max_digits=14, 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