Skip to content

Commit

Permalink
fix for Thelia2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
zzuutt committed Aug 27, 2020
1 parent f716254 commit 16e0320
Showing 1 changed file with 1 addition and 35 deletions.
36 changes: 1 addition & 35 deletions Config/schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,8 @@
<database defaultIdMethod="native" name="thelia"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../../core/vendor/propel/propel/resources/xsd/database.xsd" >
<!--
See propel documentation on http://propelorm.org for all information about schema file

<table name="product_rel" namespace="ProductComparison\Model">
<column autoIncrement="true" name="id" primaryKey="true" required="true" type="INTEGER" />
<column defaultValue="0" name="visible" required="true" type="TINYINT" />
<column defaultValue="0" name="position" required="true" type="INTEGER" />
<column name="title" size="255" type="VARCHAR" />
<column name="description" type="CLOB" />
<column name="chapo" type="LONGVARCHAR" />
<column name="postscriptum" type="LONGVARCHAR" />
<foreign-key foreignTable="product" name="fk_product_id" onDelete="CASCADE" onUpdate="RESTRICT">
<reference foreign="id" local="product_id" />
</foreign-key>
<behavior name="timestampable" />
<behavior name="i18n">
<parameter name="i18n_columns" value="title, description, chapo, postscriptum" />
</behavior>
<behavior name="versionable">
<parameter name="log_created_at" value="true" />
<parameter name="log_created_by" value="true" />
</behavior>
</table>
-->

<table isCrossRef="true" name="product_comparison" namespace="ProductComparison\Model">
<table name="product_comparison" namespace="ProductComparison\Model">
<column autoIncrement="true" name="id" primaryKey="true" required="true" type="INTEGER" />
<column name="feature_id" required="true" type="INTEGER" />
<column name="template_id" required="true" type="INTEGER" />
Expand All @@ -38,16 +14,6 @@
<foreign-key foreignTable="template" name="fk_product_comparison" onDelete="CASCADE" onUpdate="RESTRICT">
<reference foreign="id" local="template_id" />
</foreign-key>
<index name="idx_product_comparison_id">
<index-column name="feature_id" />
</index>
<index name="fk_product_comparison_idx">
<index-column name="template_id" />
</index>
<index name="idx_product_comparison_template_id_position">
<index-column name="template_id" />
<index-column name="position" />
</index>
<behavior name="timestampable" />
</table>

Expand Down

0 comments on commit 16e0320

Please sign in to comment.