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

m11_remove_item_status_column::update_schema()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 10
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 10
rs 9.4286
cc 1
eloc 5
nc 1
nop 0
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