|
18 | 18 | <column xsi:type="int" name="position" padding="10" unsigned="true" nullable="false" identity="false" |
19 | 19 | default="0" comment="Position"/> |
20 | 20 | <column xsi:type="varchar" name="type" nullable="true" length="255" comment="Type"/> |
21 | | - <constraint xsi:type="primary" name="PRIMARY"> |
| 21 | + <constraint xsi:type="primary" referenceId="PRIMARY"> |
22 | 22 | <column name="option_id"/> |
23 | 23 | </constraint> |
24 | | - <constraint xsi:type="foreign" name="CAT_PRD_BNDL_OPT_PARENT_ID_CAT_PRD_ENTT_ENTT_ID" |
| 24 | + <constraint xsi:type="foreign" referenceId="CAT_PRD_BNDL_OPT_PARENT_ID_CAT_PRD_ENTT_ENTT_ID" |
25 | 25 | table="catalog_product_bundle_option" column="parent_id" referenceTable="catalog_product_entity" |
26 | 26 | referenceColumn="entity_id" onDelete="CASCADE"/> |
27 | | - <index name="CATALOG_PRODUCT_BUNDLE_OPTION_PARENT_ID" indexType="btree"> |
| 27 | + <index referenceId="CATALOG_PRODUCT_BUNDLE_OPTION_PARENT_ID" indexType="btree"> |
28 | 28 | <column name="parent_id"/> |
29 | 29 | </index> |
30 | 30 | </table> |
|
39 | 39 | <column xsi:type="varchar" name="title" nullable="true" length="255" comment="Title"/> |
40 | 40 | <column xsi:type="int" name="parent_product_id" padding="10" unsigned="true" nullable="false" identity="false" |
41 | 41 | comment="Parent Product Id"/> |
42 | | - <constraint xsi:type="primary" name="PRIMARY"> |
| 42 | + <constraint xsi:type="primary" referenceId="PRIMARY"> |
43 | 43 | <column name="value_id"/> |
44 | 44 | </constraint> |
45 | | - <constraint xsi:type="foreign" name="CAT_PRD_BNDL_OPT_VAL_OPT_ID_CAT_PRD_BNDL_OPT_OPT_ID" |
| 45 | + <constraint xsi:type="foreign" referenceId="CAT_PRD_BNDL_OPT_VAL_OPT_ID_CAT_PRD_BNDL_OPT_OPT_ID" |
46 | 46 | table="catalog_product_bundle_option_value" column="option_id" |
47 | 47 | referenceTable="catalog_product_bundle_option" referenceColumn="option_id" onDelete="CASCADE"/> |
48 | | - <constraint xsi:type="unique" name="CAT_PRD_BNDL_OPT_VAL_OPT_ID_PARENT_PRD_ID_STORE_ID"> |
| 48 | + <constraint xsi:type="unique" referenceId="CAT_PRD_BNDL_OPT_VAL_OPT_ID_PARENT_PRD_ID_STORE_ID"> |
49 | 49 | <column name="option_id"/> |
50 | 50 | <column name="parent_product_id"/> |
51 | 51 | <column name="store_id"/> |
|
73 | 73 | comment="Selection Qty"/> |
74 | 74 | <column xsi:type="smallint" name="selection_can_change_qty" padding="6" unsigned="false" nullable="false" |
75 | 75 | identity="false" default="0" comment="Selection Can Change Qty"/> |
76 | | - <constraint xsi:type="primary" name="PRIMARY"> |
| 76 | + <constraint xsi:type="primary" referenceId="PRIMARY"> |
77 | 77 | <column name="selection_id"/> |
78 | 78 | </constraint> |
79 | | - <constraint xsi:type="foreign" name="CAT_PRD_BNDL_SELECTION_OPT_ID_CAT_PRD_BNDL_OPT_OPT_ID" |
| 79 | + <constraint xsi:type="foreign" referenceId="CAT_PRD_BNDL_SELECTION_OPT_ID_CAT_PRD_BNDL_OPT_OPT_ID" |
80 | 80 | table="catalog_product_bundle_selection" column="option_id" |
81 | 81 | referenceTable="catalog_product_bundle_option" referenceColumn="option_id" onDelete="CASCADE"/> |
82 | | - <constraint xsi:type="foreign" name="CAT_PRD_BNDL_SELECTION_PRD_ID_CAT_PRD_ENTT_ENTT_ID" |
| 82 | + <constraint xsi:type="foreign" referenceId="CAT_PRD_BNDL_SELECTION_PRD_ID_CAT_PRD_ENTT_ENTT_ID" |
83 | 83 | table="catalog_product_bundle_selection" column="product_id" referenceTable="catalog_product_entity" |
84 | 84 | referenceColumn="entity_id" onDelete="CASCADE"/> |
85 | | - <index name="CATALOG_PRODUCT_BUNDLE_SELECTION_OPTION_ID" indexType="btree"> |
| 85 | + <index referenceId="CATALOG_PRODUCT_BUNDLE_SELECTION_OPTION_ID" indexType="btree"> |
86 | 86 | <column name="option_id"/> |
87 | 87 | </index> |
88 | | - <index name="CATALOG_PRODUCT_BUNDLE_SELECTION_PRODUCT_ID" indexType="btree"> |
| 88 | + <index referenceId="CATALOG_PRODUCT_BUNDLE_SELECTION_PRODUCT_ID" indexType="btree"> |
89 | 89 | <column name="product_id"/> |
90 | 90 | </index> |
91 | 91 | </table> |
|
101 | 101 | nullable="false" default="0" comment="Selection Price Value"/> |
102 | 102 | <column xsi:type="int" name="parent_product_id" padding="10" unsigned="true" nullable="false" identity="false" |
103 | 103 | comment="Parent Product Id"/> |
104 | | - <constraint xsi:type="primary" name="PK_CATALOG_PRODUCT_BUNDLE_SELECTION_PRICE"> |
| 104 | + <constraint xsi:type="primary" referenceId="PK_CATALOG_PRODUCT_BUNDLE_SELECTION_PRICE"> |
105 | 105 | <column name="selection_id"/> |
106 | 106 | <column name="parent_product_id"/> |
107 | 107 | <column name="website_id"/> |
108 | 108 | </constraint> |
109 | | - <constraint xsi:type="foreign" name="CAT_PRD_BNDL_SELECTION_PRICE_WS_ID_STORE_WS_WS_ID" |
| 109 | + <constraint xsi:type="foreign" referenceId="CAT_PRD_BNDL_SELECTION_PRICE_WS_ID_STORE_WS_WS_ID" |
110 | 110 | table="catalog_product_bundle_selection_price" column="website_id" referenceTable="store_website" |
111 | 111 | referenceColumn="website_id" onDelete="CASCADE"/> |
112 | | - <constraint xsi:type="foreign" name="FK_DCF37523AA05D770A70AA4ED7C2616E4" |
| 112 | + <constraint xsi:type="foreign" referenceId="FK_DCF37523AA05D770A70AA4ED7C2616E4" |
113 | 113 | table="catalog_product_bundle_selection_price" column="selection_id" |
114 | 114 | referenceTable="catalog_product_bundle_selection" referenceColumn="selection_id" |
115 | 115 | onDelete="CASCADE"/> |
116 | | - <index name="CATALOG_PRODUCT_BUNDLE_SELECTION_PRICE_WEBSITE_ID" indexType="btree"> |
| 116 | + <index referenceId="CATALOG_PRODUCT_BUNDLE_SELECTION_PRICE_WEBSITE_ID" indexType="btree"> |
117 | 117 | <column name="website_id"/> |
118 | 118 | </index> |
119 | 119 | </table> |
|
129 | 129 | comment="Min Price"/> |
130 | 130 | <column xsi:type="decimal" name="max_price" scale="4" precision="12" unsigned="false" nullable="false" |
131 | 131 | comment="Max Price"/> |
132 | | - <constraint xsi:type="primary" name="PRIMARY"> |
| 132 | + <constraint xsi:type="primary" referenceId="PRIMARY"> |
133 | 133 | <column name="entity_id"/> |
134 | 134 | <column name="website_id"/> |
135 | 135 | <column name="customer_group_id"/> |
136 | 136 | </constraint> |
137 | | - <constraint xsi:type="foreign" name="CAT_PRD_BNDL_PRICE_IDX_CSTR_GROUP_ID_CSTR_GROUP_CSTR_GROUP_ID" |
| 137 | + <constraint xsi:type="foreign" referenceId="CAT_PRD_BNDL_PRICE_IDX_CSTR_GROUP_ID_CSTR_GROUP_CSTR_GROUP_ID" |
138 | 138 | table="catalog_product_bundle_price_index" column="customer_group_id" |
139 | 139 | referenceTable="customer_group" referenceColumn="customer_group_id" onDelete="CASCADE"/> |
140 | | - <constraint xsi:type="foreign" name="CAT_PRD_BNDL_PRICE_IDX_ENTT_ID_CAT_PRD_ENTT_ENTT_ID" |
| 140 | + <constraint xsi:type="foreign" referenceId="CAT_PRD_BNDL_PRICE_IDX_ENTT_ID_CAT_PRD_ENTT_ENTT_ID" |
141 | 141 | table="catalog_product_bundle_price_index" column="entity_id" |
142 | 142 | referenceTable="catalog_product_entity" referenceColumn="entity_id" onDelete="CASCADE"/> |
143 | | - <constraint xsi:type="foreign" name="CAT_PRD_BNDL_PRICE_IDX_WS_ID_STORE_WS_WS_ID" |
| 143 | + <constraint xsi:type="foreign" referenceId="CAT_PRD_BNDL_PRICE_IDX_WS_ID_STORE_WS_WS_ID" |
144 | 144 | table="catalog_product_bundle_price_index" column="website_id" referenceTable="store_website" |
145 | 145 | referenceColumn="website_id" onDelete="CASCADE"/> |
146 | | - <index name="CATALOG_PRODUCT_BUNDLE_PRICE_INDEX_WEBSITE_ID" indexType="btree"> |
| 146 | + <index referenceId="CATALOG_PRODUCT_BUNDLE_PRICE_INDEX_WEBSITE_ID" indexType="btree"> |
147 | 147 | <column name="website_id"/> |
148 | 148 | </index> |
149 | | - <index name="CATALOG_PRODUCT_BUNDLE_PRICE_INDEX_CUSTOMER_GROUP_ID" indexType="btree"> |
| 149 | + <index referenceId="CATALOG_PRODUCT_BUNDLE_PRICE_INDEX_CUSTOMER_GROUP_ID" indexType="btree"> |
150 | 150 | <column name="customer_group_id"/> |
151 | 151 | </index> |
152 | 152 | </table> |
|
162 | 162 | default="0" comment="Option Id"/> |
163 | 163 | <column xsi:type="smallint" name="stock_status" padding="6" unsigned="false" nullable="true" identity="false" |
164 | 164 | default="0" comment="Stock Status"/> |
165 | | - <constraint xsi:type="primary" name="PRIMARY"> |
| 165 | + <constraint xsi:type="primary" referenceId="PRIMARY"> |
166 | 166 | <column name="entity_id"/> |
167 | 167 | <column name="website_id"/> |
168 | 168 | <column name="stock_id"/> |
|
197 | 197 | comment="Tier Price"/> |
198 | 198 | <column xsi:type="decimal" name="base_tier" scale="4" precision="12" unsigned="false" nullable="true" |
199 | 199 | comment="Base Tier"/> |
200 | | - <constraint xsi:type="primary" name="PRIMARY"> |
| 200 | + <constraint xsi:type="primary" referenceId="PRIMARY"> |
201 | 201 | <column name="entity_id"/> |
202 | 202 | <column name="customer_group_id"/> |
203 | 203 | <column name="website_id"/> |
|
231 | 231 | comment="Tier Price"/> |
232 | 232 | <column xsi:type="decimal" name="base_tier" scale="4" precision="12" unsigned="false" nullable="true" |
233 | 233 | comment="Base Tier"/> |
234 | | - <constraint xsi:type="primary" name="PRIMARY"> |
| 234 | + <constraint xsi:type="primary" referenceId="PRIMARY"> |
235 | 235 | <column name="entity_id"/> |
236 | 236 | <column name="customer_group_id"/> |
237 | 237 | <column name="website_id"/> |
|
257 | 257 | comment="Price"/> |
258 | 258 | <column xsi:type="decimal" name="tier_price" scale="4" precision="12" unsigned="false" nullable="true" |
259 | 259 | comment="Tier Price"/> |
260 | | - <constraint xsi:type="primary" name="PRIMARY"> |
| 260 | + <constraint xsi:type="primary" referenceId="PRIMARY"> |
261 | 261 | <column name="entity_id"/> |
262 | 262 | <column name="customer_group_id"/> |
263 | 263 | <column name="website_id"/> |
|
285 | 285 | comment="Price"/> |
286 | 286 | <column xsi:type="decimal" name="tier_price" scale="4" precision="12" unsigned="false" nullable="true" |
287 | 287 | comment="Tier Price"/> |
288 | | - <constraint xsi:type="primary" name="PRIMARY"> |
| 288 | + <constraint xsi:type="primary" referenceId="PRIMARY"> |
289 | 289 | <column name="entity_id"/> |
290 | 290 | <column name="customer_group_id"/> |
291 | 291 | <column name="website_id"/> |
|
313 | 313 | comment="Tier Price"/> |
314 | 314 | <column xsi:type="decimal" name="alt_tier_price" scale="4" precision="12" unsigned="false" nullable="true" |
315 | 315 | comment="Alt Tier Price"/> |
316 | | - <constraint xsi:type="primary" name="PRIMARY"> |
| 316 | + <constraint xsi:type="primary" referenceId="PRIMARY"> |
317 | 317 | <column name="entity_id"/> |
318 | 318 | <column name="customer_group_id"/> |
319 | 319 | <column name="website_id"/> |
|
340 | 340 | comment="Tier Price"/> |
341 | 341 | <column xsi:type="decimal" name="alt_tier_price" scale="4" precision="12" unsigned="false" nullable="true" |
342 | 342 | comment="Alt Tier Price"/> |
343 | | - <constraint xsi:type="primary" name="PRIMARY"> |
| 343 | + <constraint xsi:type="primary" referenceId="PRIMARY"> |
344 | 344 | <column name="entity_id"/> |
345 | 345 | <column name="customer_group_id"/> |
346 | 346 | <column name="website_id"/> |
|
0 commit comments