DEV Community

Ellis
Ellis

Posted on

1

Route Model Binding In Laravel 7, Change Default Column id To Different Column

In this below video, you will learn What is Route Model Binding in Laravel and how to change the default column from id to another column like unique_id.

Top comments (0)

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay