Forum

Doctrine exception during set of foreign keys  Unten

gilles / 26. Okt 2010 / 07:02 Link zu diesem Beitrag


Hi !

Thanks for this beautiful tool.

I've generated a new design of an zikula module but during the installation process of the module this error is generated and block the installation :

Doctrine Exception: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dhcpgenerator.z_dg_network' doesn't exist. Failing Query: "ALTER TABLE z_dg_network ADD Constraint z_dg_network_nid_z_dg_hostdb_hid FOREIGN KEY (nid) REFERENCES z_dg_hostdb(hid)". Failing Query: ALTER TABLE z_dg_network ADD CONSTRAINT z_dg_network_nid_z_dg_hostdb_hid FOREIGN KEY (nid) REFERENCES z_dg_hostdb(hid)

http://pastebin.com/4t93GW7E dhcpgenerator.mostapp
http://pastebin.com/G75zmUBq dhcpgenerator.mostdiagram

I've created 2 relations "one to many" between my 3 tables and it seems to come from here... Did I have miss something ?


Optionen

Rating

Antworten

How to set up relations

8 Antworten
Axel on 15. Mai 2012 - 18:04



Neue Umfragen

Folgende Umfrage wurde noch nicht beantwortet:
Was soll in Zukunft verbessert werden?
 
 
 

ModuleStudio Honey

Schließen

You don't have permission to e-mail this story - please login