mirror of
https://github.com/ferdzo/iotDashboard.git
synced 2026-04-04 16:56:25 +00:00
Update
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -1,4 +1,6 @@
|
||||
/iotDashboard/.env
|
||||
/.idea
|
||||
db.sqlite3
|
||||
demo.db
|
||||
demo.db
|
||||
demo.db-shm
|
||||
demo.db-wal
|
||||
|
||||
BIN
db.sqlite3
BIN
db.sqlite3
Binary file not shown.
25
iotDashboard/migrations/0001_initial.py
Normal file
25
iotDashboard/migrations/0001_initial.py
Normal file
@@ -0,0 +1,25 @@
|
||||
# Generated by Django 4.2.5 on 2024-08-28 19:45
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Device',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(max_length=50)),
|
||||
('ip', models.CharField(max_length=20)),
|
||||
('protocol', models.CharField(max_length=20)),
|
||||
('temperature', models.BooleanField(default=False)),
|
||||
('humidity', models.BooleanField(default=False)),
|
||||
],
|
||||
),
|
||||
]
|
||||
0
iotDashboard/migrations/__init__.py
Normal file
0
iotDashboard/migrations/__init__.py
Normal file
Reference in New Issue
Block a user