PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/jairosvt/public_html/publicidadaf24/banners/etc/changes/
Server: Linux server2.noticiasdecolima.com 4.18.0-553.30.1.el8_10.x86_64 #1 SMP Tue Nov 26 02:30:26 EST 2024 x86_64
IP: 107.161.180.42
Choose File :

Url:
Dir : /home/jairosvt/public_html/publicidadaf24/banners/etc/changes/migration_tables_core_510.php

<?php

/*
+---------------------------------------------------------------------------+
| Revive Adserver                                                           |
| http://www.revive-adserver.com                                            |
|                                                                           |
| Copyright: See the COPYRIGHT.txt file.                                    |
| License: GPLv2 or later, see the LICENSE.txt file.                        |
+---------------------------------------------------------------------------+
*/

require_once(MAX_PATH . '/lib/OA/Upgrade/Migration.php');

class Migration_510 extends Migration
{
    public function __construct()
    {
        //$this->__construct();

        $this->aTaskList_constructive[] = 'beforeAddTable__lb_local';
        $this->aTaskList_constructive[] = 'afterAddTable__lb_local';
        $this->aTaskList_constructive[] = 'beforeAddField__banners__keyword';
        $this->aTaskList_constructive[] = 'afterAddField__banners__keyword';
        $this->aTaskList_constructive[] = 'beforeAddField__banners__transparent';
        $this->aTaskList_constructive[] = 'afterAddField__banners__transparent';
        $this->aTaskList_constructive[] = 'beforeAddField__clients__lb_reporting';
        $this->aTaskList_constructive[] = 'afterAddField__clients__lb_reporting';
        $this->aTaskList_constructive[] = 'beforeAddField__preference__maintenance_cron_timestamp';
        $this->aTaskList_constructive[] = 'afterAddField__preference__maintenance_cron_timestamp';
        $this->aTaskList_constructive[] = 'beforeAddField__zones__what';
        $this->aTaskList_constructive[] = 'afterAddField__zones__what';


        $this->aObjectMap['banners']['keyword'] = ['fromTable' => 'banners', 'fromField' => 'keyword'];
        $this->aObjectMap['banners']['transparent'] = ['fromTable' => 'banners', 'fromField' => 'transparent'];
        $this->aObjectMap['clients']['lb_reporting'] = ['fromTable' => 'clients', 'fromField' => 'lb_reporting'];
        $this->aObjectMap['preference']['maintenance_cron_timestamp'] = ['fromTable' => 'preference', 'fromField' => 'maintenance_cron_timestamp'];
        $this->aObjectMap['zones']['what'] = ['fromTable' => 'zones', 'fromField' => 'what'];
    }



    public function beforeAddTable__lb_local()
    {
        return $this->beforeAddTable('lb_local');
    }

    public function afterAddTable__lb_local()
    {
        return $this->afterAddTable('lb_local');
    }

    public function beforeAddField__banners__keyword()
    {
        return $this->beforeAddField('banners', 'keyword');
    }

    public function afterAddField__banners__keyword()
    {
        return $this->afterAddField('banners', 'keyword');
    }

    public function beforeAddField__banners__transparent()
    {
        return $this->beforeAddField('banners', 'transparent');
    }

    public function afterAddField__banners__transparent()
    {
        return $this->afterAddField('banners', 'transparent');
    }

    public function beforeAddField__clients__lb_reporting()
    {
        return $this->beforeAddField('clients', 'lb_reporting');
    }

    public function afterAddField__clients__lb_reporting()
    {
        return $this->afterAddField('clients', 'lb_reporting');
    }

    public function beforeAddField__preference__maintenance_cron_timestamp()
    {
        return $this->beforeAddField('preference', 'maintenance_cron_timestamp');
    }

    public function afterAddField__preference__maintenance_cron_timestamp()
    {
        return $this->afterAddField('preference', 'maintenance_cron_timestamp');
    }

    public function beforeAddField__zones__what()
    {
        return $this->beforeAddField('zones', 'what');
    }

    public function afterAddField__zones__what()
    {
        return $this->afterAddField('zones', 'what');
    }
}