Conditions | 2 |
Paths | 2 |
Total Lines | 15 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
54 | public function migrate() |
||
55 | { |
||
56 | $this->msg( 'Add stock type domain values', 0 ); $this->status( '' ); |
||
57 | $schema = $this->getSchema( 'db-product' ); |
||
58 | |||
59 | if( $schema->tableExists( 'mshop_stock_type' ) ) |
||
60 | { |
||
61 | $this->execute( $this->sql ); |
||
62 | $this->status( 'done' ); |
||
63 | } |
||
64 | else |
||
65 | { |
||
66 | $this->status( 'OK' ); |
||
67 | } |
||
68 | } |
||
69 | } |
||
70 |