Skip to content

Commit

Permalink
Remove suppliercode column from mshop_order_base_product table
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeos committed May 25, 2022
1 parent 103d3f6 commit 54c7364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/OrderRenameProductSupplier.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function up()
$this->info( 'Rename "suppliername" to "vendor" in "mshop_order_base_product" table', 'vv' );

$db = $this->db( 'db-order' );
$db->dropColumn( 'mshop_order_base_product', 'supplierid' );
$db->renameColumn( 'mshop_order_base_product', 'suppliername', 'vendor' );
$db->dropColumn( 'mshop_order_base_product', ['supplierid', 'suppliercode'] );
}
}

0 comments on commit 54c7364

Please sign in to comment.