MySQL: Increase size of field gw_class

Former field seemed to cut certain values.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler 2018-11-22 22:04:23 +01:00
parent c218072ac1
commit c6fdf34a0a
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ mysql.execute("""
`quality` float NOT NULL,
`nexthop` bigint(20) UNSIGNED DEFAULT NULL,
`netif` varchar(15) COLLATE utf8_unicode_ci DEFAULT NULL,
`gw_class` varchar(25) COLLATE utf8_unicode_ci DEFAULT NULL,
`gw_class` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
`selected` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci
""")