3
votes

My question is about the conventions around a multi-worded MySQL table name e.g. "comments_flags," which is not a pivot table.

  • What is the correct database table name for "comments_flags"?
  • What would the corresponding model name be?

Thanks for any advice.

1

1 Answers

2
votes

It is no different then for single word cases.

What is the correct database table name for "comments_flags"?

comments_flags

What would the corresponding model name be?

Model_Comments_Flag

What should be the path to the model?

application/classes/model/comments/flag.php