From 29ba9a63f2bee513e249f8717b85712809b7fb5d Mon Sep 17 00:00:00 2001 From: Dan <daniel2.lorych@live.uwe.ac.uk> Date: Tue, 3 May 2022 09:52:51 +0100 Subject: [PATCH] Add Battery SQL scripts --- SqlScripts/Battery.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 SqlScripts/Battery.sql diff --git a/SqlScripts/Battery.sql b/SqlScripts/Battery.sql new file mode 100644 index 0000000..c114955 --- /dev/null +++ b/SqlScripts/Battery.sql @@ -0,0 +1,10 @@ +CREATE TABLE Battery ( + id SERIAL PRIMARY KEY, + capacity INTEGER NOT NULL, + voltage INTEGER NOT NULL +) + +INSERT INTO Battery + (capacity, voltage) +VALUES + (250, 12) -- GitLab