initial commit
This commit is contained in:
commit
1e1aa7d461
215 changed files with 35140 additions and 0 deletions
29
database/seeders/SettingsSeeders/ProfessionsTableSeeder.php
Normal file
29
database/seeders/SettingsSeeders/ProfessionsTableSeeder.php
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
|
||||
namespace Database\Seeders\SettingsSeeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
use App\Models\Profession;
|
||||
|
||||
class ProfessionsTableSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Seed the application's database.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
Profession::insert([
|
||||
[ 'name' => 'Alchemy' ],
|
||||
[ 'name' => 'Blacksmith' ],
|
||||
[ 'name' => 'Cooking' ],
|
||||
[ 'name' => 'Enchanting' ],
|
||||
[ 'name' => 'Engineering' ],
|
||||
[ 'name' => 'Jewelcrafting' ],
|
||||
[ 'name' => 'Leatherworking' ],
|
||||
[ 'name' => 'Tailoring' ]
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in a new issue