-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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`); |