Skip to content

Commit

Permalink
SPRYK-9 / ps-8578 - fix foreign keys (#8)
Browse files Browse the repository at this point in the history
* SPRYK-9 / ps-8578 - fix foreign keys

* SPRYK-9 / ps-8578 - fix typo
  • Loading branch information
ZAYEC77 authored Jul 31, 2019
1 parent bb0882e commit 49db346
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,14 @@

<column name="login_mode" type="VARCHAR" size="32" required="true"/>

<foreign-key name="pgw_punchout_catalog_connection_setup-fk_connection" foreignTable="pgw_punchout_catalog_connection" phpName="PgwPunchoutCatalogConnection">
<foreign-key name="pgw_punchout_catalog_connection_setup-fk_connection" foreignTable="pgw_punchout_catalog_connection" phpName="PgwPunchoutCatalogConnection" onDelete="CASCADE">
<reference local="id_punchout_catalog_connection_setup" foreign="id_punchout_catalog_connection"/>
</foreign-key>

<foreign-key name="pgw_punchout_catalog_connection_setup-fk_company_user" foreignTable="spy_company_user" phpName="CompanyUser">
<reference local="fk_company_user" foreign="id_company_user"/>
</foreign-key>

<id-method-parameter value="pgw_punchout_catalog_connection_setup_pk_seq"/>
</table>

Expand All @@ -80,7 +84,7 @@

<column name="totals_mode" type="VARCHAR" size="32" required="true" default="line"/>

<foreign-key name="pgw_punchout_catalog_connection_cart-fk_connection" foreignTable="pgw_punchout_catalog_connection" phpName="PgwPunchoutCatalogConnection">
<foreign-key name="pgw_punchout_catalog_connection_cart-fk_connection" foreignTable="pgw_punchout_catalog_connection" phpName="PgwPunchoutCatalogConnection" onDelete="CASCADE">
<reference local="id_punchout_catalog_connection_cart" foreign="id_punchout_catalog_connection"/>
</foreign-key>

Expand Down

0 comments on commit 49db346

Please sign in to comment.