From ba5f30be9f69d18cbb3ffe2d00ba9cf287b77f43 Mon Sep 17 00:00:00 2001 From: Matheus 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/create_table.sql | 6 ------ database/init_scripts/create_table.sql | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 database/create_table.sql create mode 100644 database/init_scripts/create_table.sql (limited to 'database') diff --git a/database/create_table.sql b/database/create_table.sql deleted file mode 100644 index 8ee801a..0000000 --- a/database/create_table.sql +++ /dev/null @@ -1,6 +0,0 @@ -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 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