| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class m4_update_field_props extends \phpbb\db\migration\migration |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @inheritdoc |
||
| 19 | */ |
||
| 20 | public static function depends_on() |
||
| 21 | { |
||
| 22 | return array( |
||
| 23 | '\blitze\content\migrations\v30x\m1_initial_schema', |
||
| 24 | ); |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Update the sm_content_fields schema |
||
| 29 | * |
||
| 30 | * @return array Array of table schema |
||
| 31 | * @access public |
||
| 32 | */ |
||
| 33 | public function update_schema() |
||
| 34 | { |
||
| 35 | return array( |
||
| 36 | 'change_columns' => array( |
||
| 37 | $this->table_prefix . 'sm_content_fields' => array( |
||
| 38 | 'field_props' => array('MTEXT_UNI', ''), |
||
| 39 | ), |
||
| 44 |