public function updateOptimizerSearchContainerTable(SchemaSetupInterface $setup)
    {
        $setup->getConnection()
            ->addColumn(
                $setup->getTable(OptimizerInterface::TABLE_NAME_SEARCH_CONTAINER),
                'apply_to',
                [
                    'type'     => \Magento\Framework\DB\Ddl\Table::TYPE_BOOLEAN,
                    'nullable' => false,
                    'default'  => '0',
                    'comment'  => 'If this optimizer applies to specific entities or not.',
                ]
            );
    }
public function updateOptimizerSearchContainerTable(SchemaSetupInterface $setup)
    {
        $setup->getConnection()
            ->addColumn(
                $setup->getTable(OptimizerInterface::TABLE_NAME_SEARCH_CONTAINER),
                'apply_to',
                [
                    'type'     => \Magento\Framework\DB\Ddl\Table::TYPE_BOOLEAN,
                    'nullable' => false,
                    'default'  => '0',
                    'comment'  => 'If this optimizer applies to specific entities or not.',
                ]
            );
    }
public function updateOptimizerSearchContainerTable ( SchemaSetupInterface $ setup ) { $ setup -> getConnection ( ) -> addColumn ( $ setup -> getTable ( OptimizerInterface :: TABLE_NAME_SEARCH_CONTAINER ) , 'apply_to' , [ 'type' => \ Magento \ Framework \ DB \ Ddl \ Table :: TYPE_BOOLEAN , 'nullable' => false , 'default' => '0' , 'comment' => 'If this optimizer applies to specific entities or not.' , ] ) ; }
Adding "apply_to" column to smile_elasticsuite_optimizer_search_container table

@param \Magento\Framework\Setup\SchemaSetupInterface $setup Setup instance
Adding apply_to column to smile_elasticsuite_optimizer_search_container table