Repozitář maturitního projektu IVE. Vozítko ovládané přes internet, které sbírá data z modulů.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

36 lines
1.4 KiB

# Generated by Django 3.1.6 on 2021-04-28 12:30
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('app', '0010_auto_20210407_1237'),
]
operations = [
migrations.CreateModel(
name='Module',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=250)),
('display_name', models.CharField(max_length=250)),
('description', models.CharField(blank=True, max_length=500)),
('error', models.CharField(blank=True, max_length=250)),
('last_update', models.DateTimeField(auto_now=True)),
],
),
migrations.CreateModel(
name='Module_value',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('variable', models.CharField(max_length=100)),
('data_type', models.CharField(max_length=10)),
('value', models.CharField(max_length=100)),
('timestamp', models.DateTimeField(auto_now_add=True)),
('module', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='app.module')),
],
),
]