Tuesday, October 28, 2008

More Fields in the HABTM Table

Hello, i have a DB Design like this

Table: Users (id, ....)
Table: Files (id,...)
Table files_users(id, user_id, voucher_id)


now i want to extend the files_users table with folowing fields:
uploaded and viewed (each a datetime)
how can i do this? didn't know where to start!

thanks for your help!

--~--~---------~--~----~------------~-------~--~----~
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: