Support the ongoing development of Laravel.io →
Database Laravel
Last updated 1 year ago.
0

Hi, you will need to provide more details to explain exactly what you are trying to achieve. A possible solution could be to create a table with all available seats. Something like:

bus
- seat_id //seat number starting with 1 up to max amount
- free    //1=yes, 0=no
Last updated 4 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

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.