mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
Merge pull request #1555 from EXreaction/ticket/11692
[ticket/11692] Don't update search_type in dev migration if already appended
This commit is contained in:
commit
4186c05bb4
1 changed files with 4 additions and 1 deletions
|
@ -82,7 +82,10 @@ class phpbb_db_migration_data_310_dev extends phpbb_db_migration
|
|||
public function update_data()
|
||||
{
|
||||
return array(
|
||||
array('config.update', array('search_type', 'phpbb_search_' . $this->config['search_type'])),
|
||||
array('if', array(
|
||||
(strpos('phpbb_search_', $this->config['search_type']) !== 0),
|
||||
array('config.update', array('search_type', 'phpbb_search_' . $this->config['search_type'])),
|
||||
)),
|
||||
|
||||
array('config.add', array('fulltext_postgres_ts_name', 'simple')),
|
||||
array('config.add', array('fulltext_postgres_min_word_len', 4)),
|
||||
|
|
Loading…
Add table
Reference in a new issue