Support the ongoing development of Laravel.io →

dnetix

Joined 21 Jan 2015

Statistics

Threads 1
Replies 2
Solutions 1
Articles 0

Non autoincrement id for a model returning 0 on id when created

I have in my model several tables where the primary key it's not autoincremental, but it's a varchar...

0 Likes
1 Replies
Solved
replied 9 years ago

Non autoincrement id for a model returning 0 on id when created

Nevermind, I just found it looking throught the Illuminate\Database\Eloquent\Model /** * Indicates...

0 Likes
Solved
replied 9 years ago

Converting a DB-object into an array (for form use)

Actually you could just change the "app/config/database.php" "fetch" attribute f...

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.