[sql] Add creation_date, additional_params columns

creation_date - to get non-expiring permanent url
additional_params - for future needs
This commit is contained in:
Sergey Konovalov
2020-12-07 20:01:49 +03:00
committed by Sergey Konovalov
parent 953b60dcbb
commit 8904a33e59
10 changed files with 85 additions and 56 deletions

View File

@ -51,11 +51,14 @@ CREATE TABLE IF NOT EXISTS `task_result` (
`id` varchar(255) NOT NULL,
`status` tinyint(3) NOT NULL,
`status_info` int(10) NOT NULL,
`creation_date` datetime NOT NULL,
`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` longtext NOT NULL,
`baseurl` text NOT NULL,
`password` longtext NOT NULL,
`additional_params` longtext NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;