public 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',
            ]
        );
    }
public 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',
            ]
        );
    }
public 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' , ] ) ; }
Append is spellchecked to the search query report table.

@param SchemaSetupInterface $setup The setup interface

@return void
Append is spellchecked to the search query report table .