| Total Complexity | 3 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class m6_add_block_settings_field extends \phpbb\db\migration\migration |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @inheritdoc |
||
| 19 | */ |
||
| 20 | public static function depends_on() |
||
| 21 | { |
||
| 22 | return array( |
||
| 23 | '\blitze\sitemaker\migrations\converter\c4_convert_primetime_data', |
||
| 24 | ); |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Update the sm_blocks schema |
||
| 29 | * |
||
| 30 | * @return array Array of table schema |
||
| 31 | * @access public |
||
| 32 | */ |
||
| 33 | public function update_schema() |
||
| 39 | ), |
||
| 40 | ), |
||
| 41 | ); |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Revert schema changes |
||
| 46 | * |
||
| 47 | * @return array Array of table schema |
||
| 48 | * @access public |
||
| 49 | */ |
||
| 50 | public function revert_schema() |
||
| 55 | ), |
||
| 56 | ); |
||
| 59 |