From ad004aab5d93102ef290d46eb1f2538f24959e69 Mon Sep 17 00:00:00 2001
From: Sara Savanovic Djordjevic <sarasdj@stud.ntnu.no>
Date: Thu, 1 Feb 2024 10:40:34 +0100
Subject: [PATCH] Delete schema.sql

---
 schema.sql | 49 -------------------------------------------------
 1 file changed, 49 deletions(-)
 delete mode 100644 schema.sql

diff --git a/schema.sql b/schema.sql
deleted file mode 100644
index 53142222..00000000
--- a/schema.sql
+++ /dev/null
@@ -1,49 +0,0 @@
-CREATE TABLE Zone (
-    ZoneID INT PRIMARY KEY,
-    Area INT NULL,
-    Depth INT,
-    ReportID INT,
-    SensorID INT,
-    FOREIGN KEY (ReportID) REFERENCES Report(ReportID),
-    FOREIGN KEY (SensorID) REFERENCES Sensor(SensorID)
-);
-
-CREATE TABLE Sensor (
-    SensorID INT PRIMARY KEY,
-    SensorType CHAR,
-    Latitued DECIMAL(9,6) NOT NULL,
-    Longitude DECIMAL(9,6) NOT NULL,
-    ServiceStart DATETIME,
-    Active BOOLEAN NOT NULL
-);
-
-CREATE TABLE Report (
-    ReportID INT PRIMARY KEY,
-    Latitued DECIMAL(9,6) NOT NULL,
-    Longitude DECIMAL(9,6) NOT NULL,
-    DateTime DATETIME NOT NULL,
-    MeasuredThickes NULL NOT NULL,
-    CalculatedThickness INT NOT NULL,
-    SafetyAssesment CHAR NOT NULL,
-    Temperature FLOAT,
-    Humidity FLOAT,
-    Percipitation FLOAT
-);
-
--- Specialization of Report entity
-CREATE TABLE AnalogReport (
-    ReportID INT PRIMARY KEY,
-    Username CHAR PRIMARY KEY,
-    Method CHAR NOT NULL,
-    Message CHAR,
-    FOREIGN KEY (ReportID) REFERENCES Report(ReportID)
-);
-
-
--- Specialization of Report entity
-CREATE TABLE SensorReport (
-    ReportID INT PRIMARY KEY,
-    SensorID INT PRIMARY KEY,
-    FOREIGN KEY (ReportID) REFERENCES Report(ReportID),
-    FOREIGN KEY (SensorID) REFERENCES Sensor(SensorID)
-);
\ No newline at end of file
-- 
GitLab