Yes, I meant the constraints as they appear in the SQL table
definition. You pretty much answered my question. I use MYSQL...
My model is ass follows...
1 Newsletter has many Releases (Albums)
1 Release (Album) has many songs.
When I delete a newsletter I want it to delete all associated albu
A few basic things, such as naming conventions and primary keys, are
all you generally need in your DB.
"Do I also have to setup the constrains in my database?"
Do you mean 'constraints' as they appear in SQL table definitions?
If you're referring to SQL commands such as REFERENCES, ON DELETE
C
On 1/4/07, Tazz <[EMAIL PROTECTED]> wrote:
Does Cake do all the work? Or do I also have to setup the constrains in
my database?
Thanks
http://manual.cakephp.org/chapter/models
I believe the answer is "you have to setup the associations in your
code and make sure you create the associations
Does Cake do all the work? Or do I also have to setup the constrains in
my database?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegro