File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
lib/internal/Magento/Framework/Setup/Test/Unit Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ public function testCreateTable() : void
127
127
'default ' => 'CURRENT_TIMESTAMP ' ,
128
128
'disabled ' => false ,
129
129
'onCreate ' => null ,
130
+ 'comment ' => 'Column with type timestamp init update ' ,
130
131
],
131
132
'integer ' =>
132
133
[
@@ -139,6 +140,7 @@ public function testCreateTable() : void
139
140
'default ' => null ,
140
141
'disabled ' => false ,
141
142
'onCreate ' => null ,
143
+ 'comment ' => 'Integer '
142
144
],
143
145
'decimal ' =>
144
146
[
@@ -151,6 +153,7 @@ public function testCreateTable() : void
151
153
'default ' => null ,
152
154
'disabled ' => false ,
153
155
'onCreate ' => null ,
156
+ 'comment ' => 'Decimal '
154
157
],
155
158
],
156
159
$ tables ['First_Module ' ]['new_table ' ]['columns ' ]
Original file line number Diff line number Diff line change @@ -152,13 +152,13 @@ public function schemaListenerTablesDataProvider() : array
152
152
<column xmlns:xsi="xsi" xsi:type="integer" name="first_column" nullable="1"
153
153
unsigned="0"/>
154
154
<column xmlns:xsi="xsi" xsi:type="date" name="second_column" nullable="0"/>
155
- <constraint xmlns:xsi="xsi" xsi:type="foreign" name ="some_foreign_constraint"
155
+ <constraint xmlns:xsi="xsi" xsi:type="foreign" referenceId ="some_foreign_constraint"
156
156
referenceTable="table" referenceColumn="column"
157
157
table="first_table" column="first_column"/>
158
- <constraint xmlns:xsi="xsi" xsi:type="primary" name ="PRIMARY">
158
+ <constraint xmlns:xsi="xsi" xsi:type="primary" referenceId ="PRIMARY">
159
159
<column name="second_column"/>
160
160
</constraint>
161
- <index name ="TEST_INDEX" indexType="btree">
161
+ <index referenceId ="TEST_INDEX" indexType="btree">
162
162
<column name="first_column"/>
163
163
</index>
164
164
</table>
You can’t perform that action at this time.
0 commit comments