Two Models For A Single Table two models for a single table
Posted 08 December 2012 - 03:51 AM
I have a table which is storing login and registration info in one table.However i have 2 forms. One for login and one for registration. so i want to create 2 models, for login and registration.
I do agree that we need 2 tables, login and registration.
However in case if i want to do, is it possible to have 2 models pointing to single table?
Thanks to all
Posted 08 December 2012 - 05:44 AM
Posted 08 December 2012 - 08:15 AM
I would prefer the separate model approach for reason of separation of logic.