Support the ongoing development of Laravel.io →

chimmel

Joined 4 Aug 2014

Statistics

Threads 12
Replies 19
Solutions 1
Articles 0
posted 5 years ago

Seeding with same code another model throws error??

I have two tables, manufacturers & models that I'm seeding via factories. ManufacturersFactory:...

Likes Replies
posted 5 years ago

Seeding with faker in a module

I am using https://github.com/nWidart/laravel-modules and have a module Cars. In CarsDatabaseSeeder...

Likes Replies
posted 5 years ago

Hesitant to start project along the lines of YachtWorld; help?

I want to build a comprehensive practice project. I am a virtual Laravel virgin. This project will i...

Likes Replies

Table seeder works individually but not as the last seeder called in the DatabaseSeeder seed sequence?

I have a seeder that ended up working when I added protected $guarded = ['id'] to the model class of...

Likes Replies
posted 8 years ago

Eloquent relationships & seeding

Here is part of my Listing model file: public function model() { return $this->belongsTo('Model'...

Likes Replies
replied 8 years ago

Table seeder works individually but not as the last seeder called in the DatabaseSeeder seed sequence?

Are my relationships set up ok? I feel like they might be a little trying... the Manufacturer/Listin...

0 Likes
replied 8 years ago

Table seeder works individually but not as the last seeder called in the DatabaseSeeder seed sequence?

Yeah, I have that much logical sense at least... It's ManufacturerTableSeeder, ModelTableSeeder, Lis...

0 Likes
replied 8 years ago

Table seeder works individually but not as the last seeder called in the DatabaseSeeder seed sequence?

That's already there. Probably should've mentioned. So yeah. Really lost.

0 Likes
replied 8 years ago

Eloquent relationships & seeding

Adding protected $guarded = ['id']; to Listing model worked thanks to LordWaffle's advise but only f...

0 Likes
replied 8 years ago

Eloquent relationships & seeding

My creator migration: <?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.