[sql] Change mysql column type('callback' TEXT->LONGTEXT)

Fix ER_DATA_TOO_LONG: Data too long for column 'callback' at row 1
Issue appeared after saving callbackUrl for each connection(5.5.0)
This commit is contained in:
Sergey Konovalov
2020-09-30 19:14:54 +03:00
committed by Sergey Konovalov
parent 8597b8bc3b
commit 8711abeb7d

View File

@ -54,7 +54,7 @@ CREATE TABLE IF NOT EXISTS `task_result` (
`last_open_date` datetime NOT NULL,
`user_index` int(10) unsigned NOT NULL DEFAULT 1,
`change_id` int(10) unsigned NOT NULL DEFAULT 0,
`callback` text NOT NULL,
`callback` longtext NOT NULL,
`baseurl` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;