@
@
@Twitt2019-12-19 11:45:29
Database design
@Twitt, 2019-12-19 11:45:29

Rules for naming intermediate tables?

If, for example, I need to link racers ( racers ) and cars ( cars ) that drive them, I have 4 options for how to name the intermediate table:
1. racers_cars
2. racer_car
3. cars_racers
4. car_racer
Somewhere I heard which is alphabetical. For example, cars comes alphabetically before racers, so cars_racers. But I don’t know how correct this approach is + I don’t understand, you need to use the singular form (car) or plural (cars)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Arman, 2019-12-19
_

pivot table https://github.com/alexeymezenin/laravel-best-prac...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question