fix: 调整envdata的字段格式
This commit is contained in:
parent
4ddfbb266c
commit
33e661b1dc
|
@ -15,7 +15,7 @@ class Migration(migrations.Migration):
|
||||||
sql=[(
|
sql=[(
|
||||||
"""
|
"""
|
||||||
CREATE TABLE public.enp_envdata (
|
CREATE TABLE public.enp_envdata (
|
||||||
"time" timestamp NOT NULL,
|
"time" timestamptz NOT NULL,
|
||||||
"equipment_id" text NOT NULL,
|
"equipment_id" text NOT NULL,
|
||||||
"is_online" INT DEFAULT 1,
|
"is_online" INT DEFAULT 1,
|
||||||
"running_state" INT DEFAULT 10,
|
"running_state" INT DEFAULT 10,
|
||||||
|
|
Loading…
Reference in New Issue