How’s everyone? Well?
So, my problem is: I’ll using “cake bake” for generate “MVC” for me, right?
So… I have a table (mysql):
// ad = ads
ad_status
I think the name is correct:
ad = ads
status = status of ads
But the cake say the correct name is:
ad_statues
What’s wrong?
Cake’s table naming convention dictates that table names should be plural.
Therefore I think it should actually be
ad_statusesorad_states(Wiktionary suggests the plural is indeedstatuses).I think
statuesis either a typo or Cake is failing to correctly inflectstatus.NB – it doesn’t really matter what your tables are called; but going with the convention/what Cake says means you can take advantage of a lot of automagic.
Personally I’d go with
ad_statuses.