All pastes #454314 Raw Edit

NekoKun

public sql v1 · immutable
·published 2007-04-23 14:54 UTC
rendered paste body
The error:=========================Execution of target "om-template" failed for the following reason: C:\wamp\php\PEAR\pear\symfony\vendor\propel-generator\build-propel.xml:436:1: idA has ben declared as a foreign key multiple times.  This is not being handled properly. (Try moving foreign key declarations to the foreign table.)[phingcall] C:\wamp\php\PEAR\pear\symfony\vendor\propel-generator\build-propel.xml:436:1: idA has ben declared as a foreign key multiple times.  This isnot being handled properly. (Try moving foreign key declarations to the foreign table.)=========================The schema:=========================  tableA:    _attributes: { phpName: ClassA }     idA: { type: INTEGER, primaryKey: true, required: true, autoIncrement: true }    _indexes:      IX_tableA_01:       [idA]   tableB:    _attributes: { phpName: ClassB }    idA: { type: INTEGER, primaryKey: true, required: true }    idB: { type: INTEGER, primaryKey: true, required: true, autoIncrement: true }    _indexes:      IX_tableB_01:       [idB]    _foreignKeys:      talbeB_tableA:        foreignTable:  tableA        onDelete:      cascade        references:          - { local: idA, foreign: idA }   tableC:    _attributes: { phpName: ClassC }    idA: { type: INTEGER, primaryKey: true, required: true }    idB: { type: INTEGER, primaryKey: true, required: true }    idC: { type: INTEGER, primaryKey: true, required: true, autoIncrement: true }    _indexes:      IX_tableC_01:       [idC]    _foreignKeys:      talbeC_tableB:        foreignTable:  tableB        onDelete:      cascade        references:          - { local: idA, foreign: idA }          - { local: idB, foreign: idB }=========================