Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
10 / 10
100.00% covered (success)
100.00%
2 / 2
CRAP
100.00% covered (success)
100.00%
1 / 1
phpbb_dbal_migration_dummy_order_1
100.00% covered (success)
100.00%
10 / 10
100.00% covered (success)
100.00%
2 / 2
2
100.00% covered (success)
100.00%
1 / 1
 depends_on
100.00% covered (success)
100.00%
3 / 3
100.00% covered (success)
100.00%
1 / 1
1
 update_schema
100.00% covered (success)
100.00%
7 / 7
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2/**
3*
4* This file is part of the phpBB Forum Software package.
5*
6* @copyright (c) phpBB Limited <https://www.phpbb.com>
7* @license GNU General Public License, version 2 (GPL-2.0)
8*
9* For full copyright and license information, please see
10* the docs/CREDITS.txt file.
11*
12*/
13
14class phpbb_dbal_migration_dummy_order_1 extends \phpbb\db\migration\migration
15{
16    public static function depends_on()
17    {
18        return [
19            'phpbb_dbal_migration_dummy_order',
20        ];
21    }
22
23    function update_schema()
24    {
25        return array(
26            'add_columns'    => array(
27                $this->table_prefix . 'column_order_test1'    => array(
28                    'foobar4'    => array('BOOL', 0, 'after' => 'foobar3'),
29                ),
30            ),
31        );
32    }
33}