| Total Complexity | 4 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class v300_m2_converter_schema extends \phpbb\db\migration\migration |
||
| 18 | { |
||
| 19 | public static function depends_on() |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Run migration if donation_item table exists |
||
| 26 | * |
||
| 27 | * @return bool |
||
| 28 | */ |
||
| 29 | public function effectively_installed() |
||
| 30 | { |
||
| 31 | return !$this->db_tools->sql_table_exists($this->table_prefix . 'donation_item'); |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * {@inheritdoc} |
||
| 36 | */ |
||
| 37 | public function update_schema() |
||
| 42 | ], |
||
| 43 | ]; |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @inheritDoc |
||
| 48 | */ |
||
| 49 | public function revert_schema() |
||
| 55 |