Add sql schema file to sql/

develop
Steve Allison 2013-02-21 18:35:29 +00:00
parent 3f0ea7079a
commit cbeb743904
1 changed files with 16 additions and 0 deletions

16
sql/mysql.sql 100644
View File

@ -0,0 +1,16 @@
-- --------------------------------------------------------
--
-- Table structure for table `defense`
--
CREATE TABLE IF NOT EXISTS `defense` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`epoch` int(11) NOT NULL,
`type` tinyint(4) NOT NULL,
`ipaddr` varchar(40) NOT NULL,
`data` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=30 ;
-- --------------------------------------------------------