Completed
Push — master ( 2f974b...edb932 )
by Daniel
08:50
created

m11_remove_item_status_column   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 19
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A update_schema() 0 10 1
1
<?php
2
/**
3
 *
4
 * @package sitemaker
5
 * @copyright (c) 2013 Daniel A. (blitze)
6
 * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
7
 *
8
 */
9
10
namespace blitze\sitemaker\migrations\v20x;
11
12
/**
13
 * Initial schema changes needed for Extension installation
14
 */
15
class m11_remove_item_status_column extends \phpbb\db\migration\migration
16
{
17
	/**
18
	 * Update the sm_menu_items schema
19
	 *
20
	 * @return array Array of table schema
21
	 * @access public
22
	 */
23
	public function update_schema()
24
	{
25
		return array(
26
			'drop_columns'	=> array(
27
				$this->table_prefix . 'sm_menu_items'	=> array(
28
					'item_status',
29
				),
30
			),
31
		);
32
	}
33
}
34