30 lines
524 B
PHP
30 lines
524 B
PHP
<?php
|
|
/**
|
|
* Created by PhpStorm.
|
|
* User: Marco Glietsch
|
|
* Date: 10.12.2018
|
|
* Time: 16:31
|
|
*/
|
|
|
|
namespace App\Console\Commands;
|
|
|
|
use Illuminate\Console\Command;
|
|
use Illuminate\Support\Facades\Artisan;
|
|
|
|
class ImportData extends command
|
|
{
|
|
protected $signature = 'import:data';
|
|
|
|
protected $description = 'Importiert Beiträge von der alten Internetseite';
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
}
|
|
|
|
public function handle()
|
|
{
|
|
$seeder = new \DatabaseSeeder();
|
|
$seeder->run('update');
|
|
}
|
|
} |