From ba5f30be9f69d18cbb3ffe2d00ba9cf287b77f43 Mon Sep 17 00:00:00 2001
From: Matheus <matheus.guedes.mg.m@gmail.com>
Date: Tue, 21 Oct 2025 00:11:39 -0300
Subject: fix:criação automática de tabelas
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 database/init_scripts/create_table.sql | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 database/init_scripts/create_table.sql

(limited to 'database/init_scripts/create_table.sql')

diff --git a/database/init_scripts/create_table.sql b/database/init_scripts/create_table.sql
new file mode 100644
index 0000000..8ee801a
--- /dev/null
+++ b/database/init_scripts/create_table.sql
@@ -0,0 +1,6 @@
+create table if not exists climameasures (
+   stationname  varchar(255),
+   measurevalue int null,
+   unit         float null,
+   currenttime  timestamp default current_timestamp
+);
\ No newline at end of file
-- 
cgit v1.2.3

