File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
app/code/Magento/Sales/sql/sales_setup Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 1646
1646
'12,4 ' ,
1647
1647
[],
1648
1648
'Hidden Tax Canceled '
1649
+ )->addColumn (
1650
+ 'is_nominal ' ,
1651
+ \Magento \Framework \DB \Ddl \Table::TYPE_INTEGER ,
1652
+ null ,
1653
+ ['nullable ' => false , 'default ' => '0 ' ],
1654
+ 'Is Nominal '
1649
1655
)->addColumn (
1650
1656
'tax_refunded ' ,
1651
1657
\Magento \Framework \DB \Ddl \Table::TYPE_DECIMAL ,
Original file line number Diff line number Diff line change
1
+ <?php
2
+ /**
3
+ * @copyright Copyright (c) 2014 X.commerce, Inc. (http://www.magentocommerce.com)
4
+ */
5
+
6
+ /** @var $this \Magento\Sales\Model\Resource\Setup */
7
+ $ this ->startSetup ();
8
+ /**
9
+ * update table 'sales_order_item'
10
+ */
11
+ $ table = $ this ->getConnection ()->dropColumn ('sales_order_item ' , 'is_nominal ' );
12
+ $ this ->endSetup ();
You can’t perform that action at this time.
0 commit comments