Localhost QCubed Examples with PostgreSQL (article link)

Login or register to post comments
4 replies [Last post]
Offline
Joined: 10/11/2010

Here is the article, with attachments:

http://www.thetrozone.com/qcubed-localhost-examples-postgresql

Once again, you can use the files and the article above as QCubed documentation.

Also, please read the NOTE number 3 on the article and help it if you can.

Regards,
Vaibhav

Offline
Joined: 10/11/2010

Its disheartening to see no response :(

Offline
Joined: 12/06/2010

Nice Article..

Maybe some of the admins can help you with it..

alex94040's picture
Offline
Joined: 11/06/2008

Thanks for putting together this example!

Type tables MUST have a unique varchar column by design. See this example for details: http://examples.qcu.be/assets/_core/php/examples/more_codegen/type_table...

The reason that column must be unique is because the codegen creates a set of constants that are mapped to the actual values of the varchar column. If they are not unique, there isno way to map them back to the ID's in a deterministic way.

Offline
Joined: 10/11/2010

So how do I make them UNIQUE? I have put up the Database Dump as well. So you can check. I did actually create a 'UNIQUE' key (index) for that field. but error persists.