nciri / zend-db-model-generator

Automatically exported from code.google.com/p/zend-db-model-generator
0 stars 0 forks source link

Support for composite keys is missing #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago

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

GoogleCodeExporter commented 8 years ago
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