source/Core/DbMetaDataHandler.php
protected function _getCreateTableSetSql($table, $lang)
    {
        $tableSet = getLangTableName($table, $lang);

        $res = \OxidEsales\Eshop\Core\DatabaseProvider::getDb()->getAll("show create table {$table}");

        return "CREATE TABLE `{$tableSet}` (" .
                "`OXID` char(32) NOT NULL, " .
                "PRIMARY KEY (`OXID`)" .
                ") " . strstr($res[0][1], 'ENGINE=');
    }
protected function _getCreateTableSetSql($table, $lang)
    {
        $tableSet = getLangTableName($table, $lang);

        $res = \OxidEsales\Eshop\Core\DatabaseProvider::getDb()->getAll("show create table {$table}");

        return "CREATE TABLE `{$tableSet}` (" .
                "`OXID` char(32) NOT NULL, " .
                "PRIMARY KEY (`OXID`)" .
                ") " . strstr($res[0][1], 'ENGINE=');
    }
protected function _getCreateTableSetSql ( $ table , $ lang ) { $ tableSet = getLangTableName ( $ table , $ lang ) ; $ res = \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) -> getAll ( "show create table {$table}" ) ; return "CREATE TABLE `{$tableSet}` (" . "`OXID` char(32) NOT NULL, " . "PRIMARY KEY (`OXID`)" . ") " . strstr ( $ res [ 0 ] [ 1 ] , 'ENGINE=' ) ; }
Get sql for new multi-language table set creation

@param string $table core table name
@param string $lang  language id

@return string
Get sql for new multi - language table set creation