| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | public function up() |
||
| 21 | { |
||
| 22 | $db = $this->db( 'db-order' ); |
||
| 23 | |||
| 24 | if( !$db->hasTable( ['mshop_order_base', 'mshop_order_base_product'] ) ) { |
||
| 25 | return; |
||
| 26 | } |
||
| 27 | |||
| 28 | $this->info( 'Adding currency ID to order base product table', 'vv' ); |
||
| 29 | |||
| 30 | $db->exec( ' |
||
| 31 | UPDATE mshop_order_base_product SET currencyid = ( |
||
| 37 |