I am trying to bake the models, controller and views based on some
tables I have created in a MySQL database. I have followed CakePHP's
table naming conventions, ie named the tables in their plural form.
However when I try bake all, it works for some tables but it is giving
a weird error for some tables;
"Use Database Config: (default/test)
[default] > default
Possible Models based on your current database:
1. ApplicantsGuardian
2. Application
3. Assessment
4. Brother
5. EntryRequirement
6. FeePayment
7. Fee
8. Guardian
9. Interview
10. School
11. Student
12. YearGroup
Enter a number from the list above,
type in the name of another model, or 'q' to exit
[q] > 11
Error: Missing database table 'applicants' for model 'Applicant'"
I don't know where it is getting 'applicants' from?
Appreciate any help.
Many thanks,
Sid.
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment