- $table = $installer->getConnection()->newTable(
- $installer->getTable('sales_order_grid')
- )->addColumn(
- 'entity_id',
- \Magento\Framework\DB\Ddl\Table::TYPE_INTEGER,
- null,
- ['unsigned' => true, 'nullable' => false, 'primary' => true],
- 'Entity Id'
- )->addColumn(
- 'status',
- \Magento\Framework\DB\Ddl\Table::TYPE_TEXT,
- 32,
- [],
- 'Status'
- )->addColumn(
- 'store_id',
- \Magento\Framework\DB\Ddl\Table::TYPE_SMALLINT,
- null,
- ['unsigned' => true],
- 'Store Id'
This file has been truncated. show original