Smile\ElasticsuiteCatalog\Setup\InstallSchema::addIsSpellcheckedToSearchQuery PHP Method

addIsSpellcheckedToSearchQuery() private method

Append is spellchecked to the search query report table.
private addIsSpellcheckedToSearchQuery ( Magento\Framework\Setup\SchemaSetupInterface $setup ) : void
$setup Magento\Framework\Setup\SchemaSetupInterface The setup interface
return void
    private function addIsSpellcheckedToSearchQuery(SchemaSetupInterface $setup)
    {
        $connection = $setup->getConnection();
        $table = $setup->getTable('search_query');
        $connection->addColumn($table, 'is_spellchecked', ['type' => \Magento\Framework\DB\Ddl\Table::TYPE_BOOLEAN, 'nullable' => false, 'default' => '0', 'comment' => 'Is the query spellchecked']);
    }