Closed joelmellon closed 9 months ago
The standard, best practice in the Laravel world is to name the primary, auto incrementing column id. Any reason to break convention?
id
I noticed this creating a foreign key constraint from taggables.tag_id -> tags.tag_id which also should be implemented in the migration.
taggables.tag_id
tags.tag_id
Closing old issues.
The standard, best practice in the Laravel world is to name the primary, auto incrementing column
id
. Any reason to break convention?I noticed this creating a foreign key constraint from
taggables.tag_id
->tags.tag_id
which also should be implemented in the migration.