Support the ongoing development of Laravel.io →
akalajzi

akalajzi

Joined 9 Feb 2014

Statistics

Threads 3
Replies 3
Solutions 0
Articles 0

Related table, possible issue with table name?

Hi, I have a simple scenario here that is bugging me. There are two models: class DbNation extends E...

Likes Replies
Solved

Get ID of model that I just saved

So, I create an object, do the $object->save(); , and now I want to quickly get auto incremented...

Likes Replies
Solved

Where to put extra (helper) classes?

Hi, may be a silly question, but its my first project on Laravel, so a quick guidance would be helpf...

Likes Replies
Solved
8 years ago

Related table, possible issue with table name?

Or could it be that foreign key on 'players' table has to be named differently (dbnation_id ? )?

0 Likes
8 years ago

Get ID of model that I just saved

popolla said: "After saving or creating a new model that uses auto-incrementing IDs, you may r...

0 Likes
8 years ago

Where to put extra (helper) classes?

Great, I'll go with directory version. Thanks!

0 Likes

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

Your logo here?

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

© 2022 Laravel.io - All rights reserved.