aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnavailableDev <69792062+UnavailableDev@users.noreply.github.com>2022-09-29 14:54:58 +0200
committerUnavailableDev <69792062+UnavailableDev@users.noreply.github.com>2022-09-29 14:54:58 +0200
commit9f294f60c90bae4ee77c585e7da06f957858a71c (patch)
treebdb08352d12075c5c8aa0cca4f7a34ba8a943e37
parentd56f01dec7bbd32f88df92479618348f12dcc2e8 (diff)
moved file
-rw-r--r--MySqlDatabaseScript/build.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/MySqlDatabaseScript/build.sql b/MySqlDatabaseScript/build.sql
new file mode 100644
index 0000000..4c4c4d4
--- /dev/null
+++ b/MySqlDatabaseScript/build.sql
@@ -0,0 +1,9 @@
+CREATE SCHEMA `WSdb`;
+CREATE TABLE `DAB1Pract1`.`tblMain` (
+ `ID` INT GENERATED ALWAYS AS (),
+ `temperature` DECIMAL(5,2) NULL,
+ `humidity` DECIMAL(5,2) NULL,
+ `pressure` DECIMAL(5,2) NULL,
+ `time` DATETIME NULL,
+ PRIMARY KEY (`ID`),
+ UNIQUE INDEX `ID_UNIQUE` (`ID` ASC) VISIBLE);