Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 527 | Revision 529 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 527 Revision 528
Zeile 344... Zeile 344...
344
                FROM
344
                FROM
345
                    vportale_art
345
                    vportale_art
346
                WHERE
346
                WHERE
347
                    id>" . $start . "
347
                    id>" . $start . "
348
            ";
348
            ";
349
            $portals = DB::connection( 'old' )->select( $sql );
349
            $portals = DB::connection( 'cms' )->select( $sql );
350
            foreach ( $portals as $portal )
350
            foreach ( $portals as $portal )
351
            {
351
            {
352
                SalesPortalType::factory()->create( [
352
                SalesPortalType::factory()->create( [
353
                    "id"                   => $portal->id,
353
                    "id"                   => $portal->id,
354
                    "type"                 => $portal->art,
354
                    "type"                 => $portal->art,
Zeile 378... Zeile 378...
378
                $start = $row[0]->start;
378
                $start = $row[0]->start;
379
            }
379
            }
380
            $sql = "SELECT
380
            $sql = "SELECT
381
                    *
381
                    *
382
                FROM
382
                FROM
383
                    verkaufsportale
383
                    vportale
384
                WHERE
384
                WHERE
385
                    id>" . $start . "
385
                    id>" . $start . "
386
            ";
386
            ";
387
            $portals = DB::connection( 'old' )->select( $sql );
387
            $portals = DB::connection( 'old' )->select( $sql );
388
            foreach ( $portals as $portal )
388
            foreach ( $portals as $portal )