All you need to do is to specify $useTable and $primaryKey.
You'll also have to be explicit in your model associations... i.e.
'foreignKey'=>'UserID'

There really isn't much more to it than that. (Always remember to
specify the primaryKey if it's non-standard 'id')

On Sep 19, 6:22 pm, Miguel <[EMAIL PROTECTED]> wrote:
> Hi, cakephp has a lot of tutorials, but for the life of me i cant find
> a tutorial regarding how to use an existing database, this is a
> propietary vendor 's appliance, so changing the schema is not an
> option. they use mssql with fancy table names and custom types, all
> uppercase.
> because of that , i cant use the cake's database lovely conventions
> (controller/table/model names, etc), is there a way to "map" between
> conventions and existing schemes?
> best regards,
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to