Created
June 11, 2021 19:59
-
-
Save asterion/fc834554e279c99ca1c9d327e7f62d0d to your computer and use it in GitHub Desktop.
add column
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$setup->getConnection()->addColumn( | |
$setup->getTable('sales_order'), | |
'preorder_enable', | |
[ | |
'type' => \Magento\Framework\DB\Ddl\Table::TYPE_INTEGER, | |
'nullable' => false, | |
'comment' => 'Pre-Venta', | |
] | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment