Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | public function up(Schema $schema, QueryBag $queries) |
||
16 | { |
||
17 | $table = $schema->getTable('orocrm_magento_cart_item'); |
||
18 | $table->getColumn('sku')->setOptions(['notnull' => false]); |
||
19 | |||
20 | $table = $schema->getTable('orocrm_magento_order_items'); |
||
21 | $table->getColumn('sku')->setOptions(['notnull' => false]); |
||
22 | |||
23 | $table = $schema->getTable('orocrm_magento_product'); |
||
24 | $table->getColumn('sku')->setOptions(['notnull' => false]); |
||
25 | $table->dropIndex('unq_sku_channel_id'); |
||
26 | } |
||
27 | } |
||
28 |