Author
Topic: relations function in yii frame work (Read 8814 times)

I want to create relation in my three tables i am new to yii so i am confused how relations function work in yii.is this possible to create relations in tables with out altering table with the help of relations functioncan some one please give me a little bit clear clarification to understand of this function behavior

If you are generating your modules with gii you have to set constraints and set table inniDB you can also ignore to make relation ship function with un check unchek relation field and you can also do it by hand but as per yii you have constraint set and innoDB table and for more information check out this linkhttp://www.yiiframework.com/doc/guide/1.1/en/database.arr