Skip to content

Commit d4d23fd

Browse files
committed
Update db schema comments
1 parent 56eae2a commit d4d23fd

File tree

16 files changed

+162
-154
lines changed

16 files changed

+162
-154
lines changed

app/code/Magento/Bundle/etc/db_schema.xml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,11 @@
120120
<table name="catalog_product_bundle_price_index" resource="default" engine="innodb"
121121
comment="Catalog Product Bundle Price Index">
122122
<column xsi:type="int" name="entity_id" padding="10" unsigned="true" nullable="false" identity="false"
123-
comment="Entity Id"/>
123+
comment="Entity ID"/>
124124
<column xsi:type="smallint" name="website_id" padding="5" unsigned="true" nullable="false" identity="false"
125125
comment="Website Id"/>
126126
<column xsi:type="int" name="customer_group_id" padding="10" unsigned="true" nullable="false" identity="false"
127-
comment="Customer Group Id"/>
127+
comment="Customer Group ID"/>
128128
<column xsi:type="decimal" name="min_price" scale="4" precision="12" unsigned="false" nullable="false"
129129
comment="Min Price"/>
130130
<column xsi:type="decimal" name="max_price" scale="4" precision="12" unsigned="false" nullable="false"
@@ -153,11 +153,11 @@
153153
<table name="catalog_product_bundle_stock_index" resource="default" engine="innodb"
154154
comment="Catalog Product Bundle Stock Index">
155155
<column xsi:type="int" name="entity_id" padding="10" unsigned="true" nullable="false" identity="false"
156-
comment="Entity Id"/>
156+
comment="Entity ID"/>
157157
<column xsi:type="smallint" name="website_id" padding="5" unsigned="true" nullable="false" identity="false"
158-
comment="Website Id"/>
158+
comment="Website ID"/>
159159
<column xsi:type="smallint" name="stock_id" padding="5" unsigned="true" nullable="false" identity="false"
160-
comment="Stock Id"/>
160+
comment="Stock ID"/>
161161
<column xsi:type="int" name="option_id" padding="10" unsigned="true" nullable="false" identity="false"
162162
default="0" comment="Option Id"/>
163163
<column xsi:type="smallint" name="stock_status" padding="6" unsigned="false" nullable="true" identity="false"
@@ -172,13 +172,13 @@
172172
<table name="catalog_product_index_price_bundle_idx" resource="default" engine="innodb"
173173
comment="Catalog Product Index Price Bundle Idx">
174174
<column xsi:type="int" name="entity_id" padding="10" unsigned="true" nullable="false" identity="false"
175-
comment="Entity Id"/>
175+
comment="Entity ID"/>
176176
<column xsi:type="int" name="customer_group_id" padding="11" unsigned="false" nullable="false"
177177
identity="false"/>
178178
<column xsi:type="smallint" name="website_id" padding="5" unsigned="true" nullable="false" identity="false"
179-
comment="Website Id"/>
179+
comment="Website ID"/>
180180
<column xsi:type="smallint" name="tax_class_id" padding="5" unsigned="true" nullable="true" identity="false"
181-
default="0" comment="Tax Class Id"/>
181+
default="0" comment="Tax Class ID"/>
182182
<column xsi:type="smallint" name="price_type" padding="5" unsigned="true" nullable="false" identity="false"
183183
comment="Price Type"/>
184184
<column xsi:type="decimal" name="special_price" scale="4" precision="12" unsigned="false" nullable="true"
@@ -206,13 +206,13 @@
206206
<table name="catalog_product_index_price_bundle_tmp" resource="default" engine="memory"
207207
comment="Catalog Product Index Price Bundle Tmp">
208208
<column xsi:type="int" name="entity_id" padding="10" unsigned="true" nullable="false" identity="false"
209-
comment="Entity Id"/>
209+
comment="Entity ID"/>
210210
<column xsi:type="int" name="customer_group_id" padding="11" unsigned="false" nullable="false"
211211
identity="false"/>
212212
<column xsi:type="smallint" name="website_id" padding="5" unsigned="true" nullable="false" identity="false"
213-
comment="Website Id"/>
213+
comment="Website ID"/>
214214
<column xsi:type="smallint" name="tax_class_id" padding="5" unsigned="true" nullable="true" identity="false"
215-
default="0" comment="Tax Class Id"/>
215+
default="0" comment="Tax Class ID"/>
216216
<column xsi:type="smallint" name="price_type" padding="5" unsigned="true" nullable="false" identity="false"
217217
comment="Price Type"/>
218218
<column xsi:type="decimal" name="special_price" scale="4" precision="12" unsigned="false" nullable="true"
@@ -240,11 +240,11 @@
240240
<table name="catalog_product_index_price_bundle_sel_idx" resource="default" engine="innodb"
241241
comment="Catalog Product Index Price Bundle Sel Idx">
242242
<column xsi:type="int" name="entity_id" padding="10" unsigned="true" nullable="false" identity="false"
243-
comment="Entity Id"/>
243+
comment="Entity ID"/>
244244
<column xsi:type="int" name="customer_group_id" padding="11" unsigned="false" nullable="false"
245245
identity="false"/>
246246
<column xsi:type="smallint" name="website_id" padding="5" unsigned="true" nullable="false" identity="false"
247-
comment="Website Id"/>
247+
comment="Website ID"/>
248248
<column xsi:type="int" name="option_id" padding="10" unsigned="true" nullable="false" identity="false"
249249
default="0" comment="Option Id"/>
250250
<column xsi:type="int" name="selection_id" padding="10" unsigned="true" nullable="false" identity="false"
@@ -268,11 +268,11 @@
268268
<table name="catalog_product_index_price_bundle_sel_tmp" resource="default" engine="memory"
269269
comment="Catalog Product Index Price Bundle Sel Tmp">
270270
<column xsi:type="int" name="entity_id" padding="10" unsigned="true" nullable="false" identity="false"
271-
comment="Entity Id"/>
271+
comment="Entity ID"/>
272272
<column xsi:type="int" name="customer_group_id" padding="11" unsigned="false" nullable="false"
273273
identity="false"/>
274274
<column xsi:type="smallint" name="website_id" padding="5" unsigned="true" nullable="false" identity="false"
275-
comment="Website Id"/>
275+
comment="Website ID"/>
276276
<column xsi:type="int" name="option_id" padding="10" unsigned="true" nullable="false" identity="false"
277277
default="0" comment="Option Id"/>
278278
<column xsi:type="int" name="selection_id" padding="10" unsigned="true" nullable="false" identity="false"
@@ -296,11 +296,11 @@
296296
<table name="catalog_product_index_price_bundle_opt_idx" resource="default" engine="innodb"
297297
comment="Catalog Product Index Price Bundle Opt Idx">
298298
<column xsi:type="int" name="entity_id" padding="10" unsigned="true" nullable="false" identity="false"
299-
comment="Entity Id"/>
299+
comment="Entity ID"/>
300300
<column xsi:type="int" name="customer_group_id" padding="11" unsigned="false" nullable="false"
301301
identity="false"/>
302302
<column xsi:type="smallint" name="website_id" padding="5" unsigned="true" nullable="false" identity="false"
303-
comment="Website Id"/>
303+
comment="Website ID"/>
304304
<column xsi:type="int" name="option_id" padding="10" unsigned="true" nullable="false" identity="false"
305305
default="0" comment="Option Id"/>
306306
<column xsi:type="decimal" name="min_price" scale="4" precision="12" unsigned="false" nullable="true"
@@ -323,11 +323,11 @@
323323
<table name="catalog_product_index_price_bundle_opt_tmp" resource="default" engine="memory"
324324
comment="Catalog Product Index Price Bundle Opt Tmp">
325325
<column xsi:type="int" name="entity_id" padding="10" unsigned="true" nullable="false" identity="false"
326-
comment="Entity Id"/>
326+
comment="Entity ID"/>
327327
<column xsi:type="int" name="customer_group_id" padding="11" unsigned="false" nullable="false"
328328
identity="false"/>
329329
<column xsi:type="smallint" name="website_id" padding="5" unsigned="true" nullable="false" identity="false"
330-
comment="Website Id"/>
330+
comment="Website ID"/>
331331
<column xsi:type="int" name="option_id" padding="10" unsigned="true" nullable="false" identity="false"
332332
default="0" comment="Option Id"/>
333333
<column xsi:type="decimal" name="min_price" scale="4" precision="12" unsigned="false" nullable="true"

app/code/Magento/Catalog/etc/db_schema.xml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
xsi:noNamespaceSchemaLocation="urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd">
1010
<table name="catalog_product_entity" resource="default" engine="innodb" comment="Catalog Product Table">
1111
<column xsi:type="int" name="entity_id" padding="10" unsigned="true" nullable="false" identity="true"
12-
comment="Entity Id"/>
12+
comment="Entity ID"/>
1313
<column xsi:type="smallint" name="attribute_set_id" padding="5" unsigned="true" nullable="false"
1414
identity="false" default="0" comment="Attribute Set ID"/>
1515
<column xsi:type="varchar" name="type_id" nullable="false" length="32" default="simple" comment="Type ID"/>
@@ -41,7 +41,7 @@
4141
<column xsi:type="smallint" name="store_id" padding="5" unsigned="true" nullable="false" identity="false"
4242
default="0" comment="Store ID"/>
4343
<column xsi:type="int" name="entity_id" padding="10" unsigned="true" nullable="false" identity="false"
44-
default="0"/>
44+
default="0" comment="Entity ID"/>
4545
<column xsi:type="datetime" name="value" on_update="false" nullable="true" comment="Value"/>
4646
<constraint xsi:type="primary" name="PRIMARY">
4747
<column name="value_id"/>
@@ -76,7 +76,7 @@
7676
<column xsi:type="smallint" name="store_id" padding="5" unsigned="true" nullable="false" identity="false"
7777
default="0" comment="Store ID"/>
7878
<column xsi:type="int" name="entity_id" padding="10" unsigned="true" nullable="false" identity="false"
79-
default="0"/>
79+
default="0" comment="Entity ID"/>
8080
<column xsi:type="decimal" name="value" scale="4" precision="12" unsigned="false" nullable="true"
8181
comment="Value"/>
8282
<constraint xsi:type="primary" name="PRIMARY">
@@ -112,7 +112,7 @@
112112
<column xsi:type="smallint" name="store_id" padding="5" unsigned="true" nullable="false" identity="false"
113113
default="0" comment="Store ID"/>
114114
<column xsi:type="int" name="entity_id" padding="10" unsigned="true" nullable="false" identity="false"
115-
default="0"/>
115+
default="0" comment="Entity ID"/>
116116
<column xsi:type="int" name="value" padding="11" unsigned="false" nullable="true" identity="false"
117117
comment="Value"/>
118118
<constraint xsi:type="primary" name="PRIMARY">
@@ -148,7 +148,7 @@
148148
<column xsi:type="smallint" name="store_id" padding="5" unsigned="true" nullable="false" identity="false"
149149
default="0" comment="Store ID"/>
150150
<column xsi:type="int" name="entity_id" padding="10" unsigned="true" nullable="false" identity="false"
151-
default="0"/>
151+
default="0" comment="Entity ID"/>
152152
<column xsi:type="text" name="value" nullable="true" comment="Value"/>
153153
<constraint xsi:type="primary" name="PRIMARY">
154154
<column name="value_id"/>
@@ -183,7 +183,7 @@
183183
<column xsi:type="smallint" name="store_id" padding="5" unsigned="true" nullable="false" identity="false"
184184
default="0" comment="Store ID"/>
185185
<column xsi:type="int" name="entity_id" padding="10" unsigned="true" nullable="false" identity="false"
186-
default="0"/>
186+
default="0" comment="Entity ID"/>
187187
<column xsi:type="varchar" name="value" nullable="true" length="255" comment="Value"/>
188188
<constraint xsi:type="primary" name="PRIMARY">
189189
<column name="value_id"/>
@@ -218,7 +218,7 @@
218218
<column xsi:type="smallint" name="store_id" padding="5" unsigned="true" nullable="false" identity="false"
219219
default="0" comment="Store ID"/>
220220
<column xsi:type="int" name="entity_id" padding="10" unsigned="true" nullable="false" identity="false"
221-
default="0"/>
221+
default="0" comment="Entity ID"/>
222222
<column xsi:type="int" name="position" padding="11" unsigned="false" nullable="false" identity="false"
223223
default="0" comment="Position"/>
224224
<column xsi:type="varchar" name="value" nullable="true" length="255" comment="Value"/>
@@ -251,7 +251,7 @@
251251
</table>
252252
<table name="catalog_category_entity" resource="default" engine="innodb" comment="Catalog Category Table">
253253
<column xsi:type="int" name="entity_id" padding="10" unsigned="true" nullable="false" identity="true"
254-
comment="Entity Id"/>
254+
comment="Entity ID"/>
255255
<column xsi:type="smallint" name="attribute_set_id" padding="5" unsigned="true" nullable="false"
256256
identity="false" default="0" comment="Attribute Set ID"/>
257257
<column xsi:type="int" name="parent_id" padding="10" unsigned="true" nullable="false" identity="false"
@@ -286,7 +286,7 @@
286286
<column xsi:type="smallint" name="store_id" padding="5" unsigned="true" nullable="false" identity="false"
287287
default="0" comment="Store ID"/>
288288
<column xsi:type="int" name="entity_id" padding="10" unsigned="true" nullable="false" identity="false"
289-
default="0"/>
289+
default="0" comment="Entity ID"/>
290290
<column xsi:type="datetime" name="value" on_update="false" nullable="true" comment="Value"/>
291291
<constraint xsi:type="primary" name="PRIMARY">
292292
<column name="value_id"/>
@@ -324,7 +324,7 @@
324324
<column xsi:type="smallint" name="store_id" padding="5" unsigned="true" nullable="false" identity="false"
325325
default="0" comment="Store ID"/>
326326
<column xsi:type="int" name="entity_id" padding="10" unsigned="true" nullable="false" identity="false"
327-
default="0"/>
327+
default="0" comment="Entity ID"/>
328328
<column xsi:type="decimal" name="value" scale="4" precision="12" unsigned="false" nullable="true"
329329
comment="Value"/>
330330
<constraint xsi:type="primary" name="PRIMARY">
@@ -363,7 +363,7 @@
363363
<column xsi:type="smallint" name="store_id" padding="5" unsigned="true" nullable="false" identity="false"
364364
default="0" comment="Store ID"/>
365365
<column xsi:type="int" name="entity_id" padding="10" unsigned="true" nullable="false" identity="false"
366-
default="0"/>
366+
default="0" comment="Entity ID"/>
367367
<column xsi:type="int" name="value" padding="11" unsigned="false" nullable="true" identity="false"
368368
comment="Value"/>
369369
<constraint xsi:type="primary" name="PRIMARY">
@@ -402,7 +402,7 @@
402402
<column xsi:type="smallint" name="store_id" padding="5" unsigned="true" nullable="false" identity="false"
403403
default="0" comment="Store ID"/>
404404
<column xsi:type="int" name="entity_id" padding="10" unsigned="true" nullable="false" identity="false"
405-
default="0"/>
405+
default="0" comment="Entity ID"/>
406406
<column xsi:type="text" name="value" nullable="true" comment="Value"/>
407407
<constraint xsi:type="primary" name="PRIMARY">
408408
<column name="value_id"/>
@@ -440,7 +440,7 @@
440440
<column xsi:type="smallint" name="store_id" padding="5" unsigned="true" nullable="false" identity="false"
441441
default="0" comment="Store ID"/>
442442
<column xsi:type="int" name="entity_id" padding="10" unsigned="true" nullable="false" identity="false"
443-
default="0"/>
443+
default="0" comment="Entity ID"/>
444444
<column xsi:type="varchar" name="value" nullable="true" length="255" comment="Value"/>
445445
<constraint xsi:type="primary" name="PRIMARY">
446446
<column name="value_id"/>
@@ -738,7 +738,7 @@
738738
<column xsi:type="int" name="value_id" padding="11" unsigned="false" nullable="false" identity="true"
739739
comment="Value ID"/>
740740
<column xsi:type="int" name="entity_id" padding="10" unsigned="true" nullable="false" identity="false"
741-
default="0"/>
741+
default="0" comment="Entity ID"/>
742742
<column xsi:type="smallint" name="all_groups" padding="5" unsigned="true" nullable="false" identity="false"
743743
default="1" comment="Is Applicable To All Customer Groups"/>
744744
<column xsi:type="int" name="customer_group_id" padding="10" unsigned="true" nullable="false" identity="false"
@@ -805,7 +805,7 @@
805805
<column xsi:type="smallint" name="store_id" padding="5" unsigned="true" nullable="false" identity="false"
806806
default="0" comment="Store ID"/>
807807
<column xsi:type="int" name="entity_id" padding="10" unsigned="true" nullable="false" identity="false"
808-
default="0"/>
808+
default="0" comment="Entity ID"/>
809809
<column xsi:type="varchar" name="label" nullable="true" length="255" comment="Label"/>
810810
<column xsi:type="int" name="position" padding="10" unsigned="true" nullable="true" identity="false"
811811
comment="Position"/>
@@ -1651,7 +1651,8 @@
16511651
comment="Link Media value to Product entity table">
16521652
<column xsi:type="int" name="value_id" padding="10" unsigned="true" nullable="false" identity="false"
16531653
comment="Value media Entry ID"/>
1654-
<column xsi:type="int" name="entity_id" padding="10" unsigned="true" nullable="false" identity="false"/>
1654+
<column xsi:type="int" name="entity_id" padding="10" unsigned="true" nullable="false" identity="false"
1655+
comment="Product Entity ID"/>
16551656
<constraint xsi:type="foreign" name="FK_A6C6C8FAA386736921D3A7C4B50B1185"
16561657
table="catalog_product_entity_media_gallery_value_to_entity" column="value_id"
16571658
referenceTable="catalog_product_entity_media_gallery" referenceColumn="value_id"

app/code/Magento/CatalogRule/etc/db_schema.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
xsi:noNamespaceSchemaLocation="urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd">
1010
<table name="catalogrule" resource="default" engine="innodb" comment="CatalogRule">
1111
<column xsi:type="int" name="rule_id" padding="10" unsigned="true" nullable="false" identity="true"
12-
comment="Entity Id"/>
12+
comment="Entity ID"/>
1313
<column xsi:type="varchar" name="name" nullable="true" length="255" comment="Name"/>
1414
<column xsi:type="text" name="description" nullable="true" comment="Description"/>
1515
<column xsi:type="date" name="from_date" comment="From"/>
@@ -137,7 +137,8 @@
137137
</index>
138138
</table>
139139
<table name="catalogrule_website" resource="default" engine="innodb" comment="Catalog Rules To Websites Relations">
140-
<column xsi:type="int" name="rule_id" padding="10" unsigned="true" nullable="false" identity="false"/>
140+
<column xsi:type="int" name="rule_id" padding="10" unsigned="true" nullable="false" identity="false"
141+
comment="Rule Id"/>
141142
<column xsi:type="smallint" name="website_id" padding="5" unsigned="true" nullable="false" identity="false"
142143
comment="Website Id"/>
143144
<constraint xsi:type="primary" name="PRIMARY">
@@ -156,7 +157,8 @@
156157
</table>
157158
<table name="catalogrule_customer_group" resource="default" engine="innodb"
158159
comment="Catalog Rules To Customer Groups Relations">
159-
<column xsi:type="int" name="rule_id" padding="10" unsigned="true" nullable="false" identity="false"/>
160+
<column xsi:type="int" name="rule_id" padding="10" unsigned="true" nullable="false" identity="false"
161+
comment="Rule Id"/>
160162
<column xsi:type="int" name="customer_group_id" padding="10" unsigned="true" nullable="false" identity="false"
161163
comment="Customer Group Id"/>
162164
<constraint xsi:type="primary" name="PRIMARY">

0 commit comments

Comments
 (0)