mirror of https://github.com/cowrie/cowrie.git
ip field in MySQL may contain hostname (#486)
* Update mysql.sql IP field may contain hostname * Create update11.sql
This commit is contained in:
parent
5eb5ec452b
commit
0d3c752f1e
|
@ -27,7 +27,7 @@ CREATE TABLE IF NOT EXISTS `input` (
|
|||
|
||||
CREATE TABLE IF NOT EXISTS `sensors` (
|
||||
`id` int(11) NOT NULL auto_increment,
|
||||
`ip` varchar(15) NOT NULL,
|
||||
`ip` varchar(255) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ;
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
ALTER TABLE sensors MODIFY ip VARCHAR(255) NOT NULL;
|
Loading…
Reference in New Issue