From c6fdf34a0a50f8f5844a874736c597d80a10ff5d Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Thu, 22 Nov 2018 22:04:23 +0100 Subject: [PATCH] MySQL: Increase size of field gw_class Former field seemed to cut certain values. Signed-off-by: Adrian Schmutzler --- ffmap/db/routers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmap/db/routers.py b/ffmap/db/routers.py index e764311..015d7c8 100755 --- a/ffmap/db/routers.py +++ b/ffmap/db/routers.py @@ -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 """)