From 9b37ab7bb0d4b866f2ae8a32577a3c0ad0d5111a Mon Sep 17 00:00:00 2001 From: auxlife Date: Sat, 31 Dec 2016 13:59:12 -0800 Subject: [PATCH] Add files via upload --- TideSync.sql | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 TideSync.sql diff --git a/TideSync.sql b/TideSync.sql new file mode 100644 index 0000000..86b639c --- /dev/null +++ b/TideSync.sql @@ -0,0 +1,13 @@ +CREATE TABLE `Data` ( + `Added` datetime DEFAULT NULL, + `DateString` varchar(30) NOT NULL, + `Type` varchar(15) NOT NULL, + `Value` int(11) NOT NULL, + `Payload` varchar(600) NOT NULL, + `Uploaded` datetime DEFAULT NULL +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + + +ALTER TABLE `Data` + ADD PRIMARY KEY (`Payload`), + ADD UNIQUE KEY `Payload` (`Payload`);