Skip to main content

Black Friday 2025! Only until December 1st: coupon FRIDAY25 for 40% off Yearly/Lifetime membership!

Read more here

Model Properties: Tables, Keys, Increments, Pages and Dates

Premium
4:10

The Full Lesson is Only for Premium Members

Want to access all of our courses? (29 h 14 min)

You also get:

54 courses
Premium tutorials
Access to repositories
Private Discord
Get Premium for $129/year or $29/month

Already a member? Login here

Comments & Discussion

CP
Chris Peeters ✓ Link copied!

Hi Povilas, Another reason to set $incrementing to false could be when the primary key is a string, like for example "DE" being the primary key for a "countries" table. Regards, Chris

PK
Povilas Korop ✓ Link copied!

Thanks Chris, similar example to UUID as primary key.