mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-17 05:54:21 +01:00
ip field in MySQL may contain hostname (#486)
* Update mysql.sql IP field may contain hostname * Create update11.sql
This commit is contained in:
committed by
Michel Oosterhof
parent
5eb5ec452b
commit
0d3c752f1e
@@ -27,7 +27,7 @@ CREATE TABLE IF NOT EXISTS `input` (
|
|||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `sensors` (
|
CREATE TABLE IF NOT EXISTS `sensors` (
|
||||||
`id` int(11) NOT NULL auto_increment,
|
`id` int(11) NOT NULL auto_increment,
|
||||||
`ip` varchar(15) NOT NULL,
|
`ip` varchar(255) NOT NULL,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) ;
|
) ;
|
||||||
|
|
||||||
|
|||||||
1
doc/sql/update11.sql
Normal file
1
doc/sql/update11.sql
Normal file
@@ -0,0 +1 @@
|
|||||||
|
ALTER TABLE sensors MODIFY ip VARCHAR(255) NOT NULL;
|
||||||
Reference in New Issue
Block a user