| Conditions | 2 |
| Paths | 2 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | public function up() |
||
| 21 | { |
||
| 22 | $db = $this->db( 'db-locale' ); |
||
| 23 | |||
| 24 | if( !$db->hasTable( 'mshop_locale' ) ) { |
||
| 25 | return; |
||
| 26 | } |
||
| 27 | |||
| 28 | $this->info( 'Remove indexes from mshop_locale', 'v' ); |
||
| 29 | |||
| 30 | $db->dropIndex( 'mshop_locale', 'fk_mslocsi_id' ); |
||
| 31 | $db->dropIndex( 'mshop_locale', 'fk_mslocla_id' ); |
||
| 32 | $db->dropIndex( 'mshop_locale', 'fk_msloccu_id' ); |
||
| 33 | $db->dropIndex( 'mshop_locale', 'IDX_628DFA7F2271845' ); |
||
| 34 | $db->dropIndex( 'mshop_locale', 'IDX_628DFA7F4842F28' ); |
||
| 35 | } |
||
| 37 |