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']); }