I'm not sure if I understand your question, but I do have a .php file
created with $useTable = "event_admins" - forgive the formatting...
app/model/eventadmin.php:
{{{
array(
'className' =>
'Administrator',
'dependent' => true
)
);
}
?>
}}}
And here's this:
mysql> desc event_admins
+--+-+--+-+-++
| Field| Type| Null | Key | Default | Extra |
+--+-+--+-+-++
| id | int(11) | NO | PRI | NULL| auto_increment |
| event_id | int(11) | YES | | NULL||
| admin_id | int(11) | YES | | NULL||
+--+-+--+-+-++
3 rows in set (0.00 sec)
Any thoughts?
TIA -
leo
On May 31, 1:15 pm, Ricky Paz wrote:
> In your model EventAdmin is there any relationship with some model
> matched with test_event_admins's table?
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---