Size of Protocol field increased.

The protocol field now is 10 char.

Change-Id: Ibd6c402cfbd8dbe21b1b97c2d03ff64520193bca
This commit is contained in:
Fabio Verboso
2018-07-10 11:24:08 +02:00
parent 1fd046acc0
commit 38519ce484

View File

@@ -200,7 +200,7 @@ CREATE TABLE IF NOT EXISTS `iotronic`.`services` (
`name` VARCHAR(255) NULL DEFAULT NULL,
`port` INT(5) NOT NULL,
`project` VARCHAR(36) NOT NULL,
`protocol` VARCHAR(3) NOT NULL,
`protocol` VARCHAR(10) NOT NULL,
`extra` TEXT NULL DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE INDEX `uuid` (`uuid` ASC))