Revision 48 | Revision 92 | Zur aktuellen Revision | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed
<?phpnamespace Database\Seeders;use Illuminate\Database\Console\Seeds\WithoutModelEvents;use Illuminate\Database\Seeder;class DirectorySeeder extends Seeder{/*** Run the database seeds.** @return void*/public function run(){\App\Models\Directory::factory()->create( ["id" => -5,"name" => "Gutschein","directory_id" => NULL,] );\App\Models\Directory::factory()->create( ["id" => -3,"name" => "Versand","directory_id" => NULL,] );\App\Models\Directory::factory()->create( ["id" => -2,"name" => "Papierkorb","directory_id" => NULL,] );\App\Models\Directory::factory()->create( ["id" => -1,"name" => "Root","directory_id" => NULL,] );\App\Models\Directory::factory()->create( ["id" => 1,"name" => "MenĂ¼ 1","directory_id" => -1] );}}