* Fix structure of the search_cache table in install

This commit is contained in:
Visman 2018-09-12 00:38:37 +07:00
parent f6a69f2b41
commit 8bb66a68e1

View file

@ -698,13 +698,13 @@ class Install extends Page
// search_cache
$schema = [
'FIELDS' => [
'id' => ['INT(10) UNSIGNED', false, 0],
'ident' => ['VARCHAR(200)', false, ''],
'search_data' => ['MEDIUMTEXT', true],
'search_time' => ['INT(10) UNSIGNED', false, 0],
'search_key' => ['VARCHAR(190)', false, '', 'bin'],
],
'PRIMARY KEY' => ['id'],
'INDEXES' => [
'ident_idx' => ['ident(8)'], //????
'search_time_idx' => ['search_time'],
'search_key_idx' => ['search_key'],
],
'ENGINE' => $this->DBEngine,
];