Carga
Carga
This commit is contained in:
32
moviles/migrations/0001_initial.py
Normal file
32
moviles/migrations/0001_initial.py
Normal file
@@ -0,0 +1,32 @@
|
||||
# Generated by Django 4.0.5 on 2022-09-06 06:15
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='sensormovil',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('idsensor', models.CharField(max_length=5, verbose_name='Tarjeta Sensor')),
|
||||
('temps1', models.FloatField(blank=True, null=True, verbose_name='Temperatura sensor 1')),
|
||||
('humes1', models.FloatField(blank=True, null=True, verbose_name='Humedad sensor 1')),
|
||||
('temps2', models.FloatField(blank=True, null=True, verbose_name='Temperatura sensor 2')),
|
||||
('humes2', models.FloatField(blank=True, null=True, verbose_name='Humedad sensor 2')),
|
||||
('temps3', models.FloatField(blank=True, null=True, verbose_name='Temperatura sensor 3')),
|
||||
('humes3', models.FloatField(blank=True, null=True, verbose_name='Humedad sensor 3')),
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'Sensor Movil',
|
||||
'verbose_name_plural': 'Sensor Movil',
|
||||
'ordering': ['idsensor'],
|
||||
},
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user