Add sql schema file to sql/
parent
3f0ea7079a
commit
cbeb743904
|
@ -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 ;
|
||||
|
||||
-- --------------------------------------------------------
|
Loading…
Reference in New Issue