I know i have to declare the unique column(PK) with ID.But the database is already exist, and was created with a different name(Reg_name) than ID.How can i set in cakephp to use Reg_name insted of id?
Asked
Active
Viewed 297 times
-2
-
1It's really not that hard to find **https://google.com/search?q=cakephp+custom+primary+key+name** – ndm Dec 22 '14 at 00:07