From 33e661b1dcbadc5ba0ab297298f40c2057b21bbd Mon Sep 17 00:00:00 2001 From: caoqianming Date: Wed, 28 Feb 2024 17:20:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4envdata=E7=9A=84?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/enp/migrations/0002_auto_20240119_1053.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/enp/migrations/0002_auto_20240119_1053.py b/apps/enp/migrations/0002_auto_20240119_1053.py index aee0c0bd..84642dad 100644 --- a/apps/enp/migrations/0002_auto_20240119_1053.py +++ b/apps/enp/migrations/0002_auto_20240119_1053.py @@ -15,7 +15,7 @@ class Migration(migrations.Migration): sql=[( """ CREATE TABLE public.enp_envdata ( - "time" timestamp NOT NULL, + "time" timestamptz NOT NULL, "equipment_id" text NOT NULL, "is_online" INT DEFAULT 1, "running_state" INT DEFAULT 10,