Support the ongoing development of Laravel.io →
chimmel

chimmel

Joined 4 Aug 2014

Statistics

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

Seeding a foreign key

I have this for Manufacturer seed class ManufacturerTableSeeder extends Seeder { public functio...

0 Likes
8 Replies
Solved
posted 11 years ago
0 Likes
1 Replies
Solved
replied 11 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 11 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 11 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 11 years ago

Eloquent relationships & seeding

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

0 Likes
replied 11 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.

© 2026 Laravel.io - All rights reserved.