Setup/Recurring.php
private function checkAndCreateAbandonedCart($setup, $context)
    {
        $connection = $setup->getConnection();
        $abandonedCartTableName = $setup->getTable(Schema::EMAIL_ABANDONED_CART_TABLE);

        if (version_compare($context->getVersion(), '2.3.8', '>') &&
            ! $connection->isTableExists($abandonedCartTableName)
        ) {
            $this->shared->createAbandonedCartTable($setup, $abandonedCartTableName);
        }
    }
private function checkAndCreateAbandonedCart($setup, $context)
    {
        $connection = $setup->getConnection();
        $abandonedCartTableName = $setup->getTable(Schema::EMAIL_ABANDONED_CART_TABLE);

        if (version_compare($context->getVersion(), '2.3.8', '>') &&
            ! $connection->isTableExists($abandonedCartTableName)
        ) {
            $this->shared->createAbandonedCartTable($setup, $abandonedCartTableName);
        }
    }
private function checkAndCreateAbandonedCart ( $ setup , $ context ) { $ connection = $ setup -> getConnection ( ) ; $ abandonedCartTableName = $ setup -> getTable ( Schema :: EMAIL_ABANDONED_CART_TABLE ) ; if ( version_compare ( $ context -> getVersion ( ) , '2.3.8' , '>' ) && ! $ connection -> isTableExists ( $ abandonedCartTableName ) ) { $ this -> shared -> createAbandonedCartTable ( $ setup , $ abandonedCartTableName ) ; } }
Create table for abandoned carts if doesn't exists between two versions.

@param SchemaSetupInterface $setup
@param ModuleContextInterface $context
Create table for abandoned carts if doesn t exists between two versions .