Verified Commit 586c7313 authored by Gael Yvert's avatar Gael Yvert
Browse files

update composer.lock; remove outdated Voyager's seeders (issue #155)

parent 4521aa95
This diff is collapsed.
*Big*
VoyagerDatabaseSeeder.php
VoyagerDummyDatabaseSeeder.php
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use TCG\Voyager\Traits\Seedable;
class VoyagerDatabaseSeeder extends Seeder
{
use Seedable;
protected $seedersPath = __DIR__.'/';
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$this->seed('DataTypesTableSeeder');
$this->seed('DataRowsTableSeeder');
$this->seed('MenusTableSeeder');
$this->seed('MenuItemsTableSeeder');
$this->seed('RolesTableSeeder');
$this->seed('PermissionsTableSeeder');
$this->seed('PermissionRoleTableSeeder');
$this->seed('SettingsTableSeeder');
}
}
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use TCG\Voyager\Traits\Seedable;
class VoyagerDummyDatabaseSeeder extends Seeder
{
use Seedable;
protected $seedersPath;
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$this->seedersPath = database_path('seeds').'/';
$this->seed('CategoriesTableSeeder');
$this->seed('UsersTableSeeder');
$this->seed('PostsTableSeeder');
$this->seed('PagesTableSeeder');
$this->seed('TranslationsTableSeeder');
$this->seed('PermissionRoleTableSeeder');
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment