Support the ongoing development of Laravel.io →

chimmel

Joined 4 Aug 2014

Statistics

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

Seeding with same code another model throws error??

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

0 Likes
0 Replies
posted 6 years ago

Seeding with faker in a module

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

0 Likes
0 Replies
posted 6 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...

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

0 Likes
6 Replies
posted 9 years ago

Eloquent relationships & seeding

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

0 Likes
4 Replies
replied 9 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 9 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 9 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 9 years ago

Eloquent relationships & seeding

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

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

© 2024 Laravel.io - All rights reserved.