Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(!$installer->getConnection()->tableColumnExists('review_detail', 'email')) {
- $definition = [
- 'type' => MagentoFrameworkDBDdlTable::TYPE_TEXT,
- 'size' => 255,
- ['nullable' => true, 'length' => 255],
- 'comment' => 'User Email'
- ];
- $installer->getConnection()->addColumn(
- 'review_detail',
- 'email',
- $definition
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement