mirror of
https://github.com/ferdzo/iotDashboard.git
synced 2026-04-05 09:06:26 +00:00
Update
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -2,3 +2,5 @@
|
|||||||
/.idea
|
/.idea
|
||||||
db.sqlite3
|
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