Yii Framework Forum: Composite Primary Key On Table - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Composite Primary Key On Table Rate Topic: -----

#1 User is offline   kumarkulandai 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 152
  • Joined: 18-November 11
  • Location:Bangalore

Posted 15 July 2013 - 02:23 AM

when table has a composite primary key which is not supported by crud generator.

how to solve this?
Regards,
Kumar Kulandai.

Posted Image
0

#2 User is offline   KonApaz 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,317
  • Joined: 21-February 11
  • Location:Greece

Posted 15 July 2013 - 03:07 AM

according to

http://www.yiiframew...+ite#entry47422

composite primary key seems to not supported yet.
So you could add an extra primary (unique) key in your table.
Yii is the best php framework in the world!
find our demo Yii extension on www.webkit.gr
Is it post useful? please v++ ;)
0

#3 User is offline   kumarkulandai 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 152
  • Joined: 18-November 11
  • Location:Bangalore

Posted 15 July 2013 - 03:39 AM

ok thanks for your reply

View PostKonApaz, on 15 July 2013 - 03:07 AM, said:

according to

http://www.yiiframew...+ite#entry47422

composite primary key seems to not supported yet.
So you could add an extra primary (unique) key in your table.

Regards,
Kumar Kulandai.

Posted Image
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users