kfirufk / zend-db-model-generator

Automatically exported from code.google.com/p/zend-db-model-generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for composite keys is missing

GoogleCodeExporter opened this issue · comments

The script will throw an exception around line 250 telling me that it found 
more than one primary key.

Original issue reported on code.google.com by rojaro@gmail.com on 10 Jun 2010 at 2:54

Please provide a fix since each schema contains at least one composite key in a 
correct relation model.

Original comment by benoit.p...@gmail.com on 16 May 2011 at 8:16

Original comment by kfirufk@gmail.com on 21 Aug 2011 at 12:21

  • Changed state: Started
I tested with the following schema:

CREATE TABLE track(
  album CHAR(10),
  disk INTEGER,
  posn INTEGER,
  song VARCHAR(255),
  PRIMARY KEY (album, disk, posn)
)


I got no php errors. 

please try the new release 0.6 and let me know if there are any problems.

Original comment by kfirufk@gmail.com on 21 Aug 2011 at 12:22

  • Changed state: Fixed