From dc313936a1e441bf4ada416ebeb923a2e6864b81 Mon Sep 17 00:00:00 2001 From: flykhan Date: Tue, 24 Oct 2023 09:50:08 +0800 Subject: [PATCH] add sql_database and sql files --- sql_base/createtables.sql | 5 +++++ sql_base/green_house.db | Bin 0 -> 4096 bytes 2 files changed, 5 insertions(+) create mode 100644 sql_base/createtables.sql create mode 100644 sql_base/green_house.db diff --git a/sql_base/createtables.sql b/sql_base/createtables.sql new file mode 100644 index 0000000..e5b0787 --- /dev/null +++ b/sql_base/createtables.sql @@ -0,0 +1,5 @@ +create table login_users (userid integer primary key, name varchar(50), password varchar(50)); + +create table temp_hum_info (thid integer primary key, temperature double, humidity double, th_date_time datetime); + +create table record_of_operations (operid integer primary key, oper_user_name varchar(50), operation_detail text, operation_time datetime); diff --git a/sql_base/green_house.db b/sql_base/green_house.db new file mode 100644 index 0000000000000000000000000000000000000000..766003eaae5f9c84c78d8037e37e32ef0c1dee56 GIT binary patch literal 4096 zcmeH`y-ve05XbGLQYYpx9_r9kDiRXv3|juydflMkr=_ZHfFj9QTqI1U3)PtT4b2S~gcu)^Y6C5bLYqTXVIU2`>@OpU z>t6%L%nD*V(g^Jay&f&^DrqaVlxcPAyf*Y2vT6IgUj#}RP(e;hxz+7W0o0hj-6em$q%5jc*(4-dn&WdHyG literal 0 HcmV?d00001