<?php

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

class Migration_331 extends Migration
{

    function Migration_331()
    {
        //$this->__construct();

		$this->aTaskList_constructive[] = 'beforeAddIndex__affiliates__agencyid';
		$this->aTaskList_constructive[] = 'afterAddIndex__affiliates__agencyid';
		$this->aTaskList_constructive[] = 'beforeAddIndex__campaigns__clientid';
		$this->aTaskList_constructive[] = 'afterAddIndex__campaigns__clientid';
		$this->aTaskList_constructive[] = 'beforeAddIndex__clients__agencyid';
		$this->aTaskList_constructive[] = 'afterAddIndex__clients__agencyid';
		$this->aTaskList_constructive[] = 'beforeAddIndex__trackers__clientid';
		$this->aTaskList_constructive[] = 'afterAddIndex__trackers__clientid';
		$this->aTaskList_constructive[] = 'beforeAddIndex__variables__variables_is_unique';
		$this->aTaskList_constructive[] = 'afterAddIndex__variables__variables_is_unique';
		$this->aTaskList_constructive[] = 'beforeAddIndex__variables__trackerid';
		$this->aTaskList_constructive[] = 'afterAddIndex__variables__trackerid';
		$this->aTaskList_constructive[] = 'beforeAddIndex__zones__affiliateid';
		$this->aTaskList_constructive[] = 'afterAddIndex__zones__affiliateid';


    }



	function beforeAddIndex__affiliates__agencyid()
	{
		return $this->beforeAddIndex('affiliates', 'agencyid');
	}

	function afterAddIndex__affiliates__agencyid()
	{
		return $this->afterAddIndex('affiliates', 'agencyid');
	}

	function beforeAddIndex__campaigns__clientid()
	{
		return $this->beforeAddIndex('campaigns', 'clientid');
	}

	function afterAddIndex__campaigns__clientid()
	{
		return $this->afterAddIndex('campaigns', 'clientid');
	}

	function beforeAddIndex__clients__agencyid()
	{
		return $this->beforeAddIndex('clients', 'agencyid');
	}

	function afterAddIndex__clients__agencyid()
	{
		return $this->afterAddIndex('clients', 'agencyid');
	}

	function beforeAddIndex__trackers__clientid()
	{
		return $this->beforeAddIndex('trackers', 'clientid');
	}

	function afterAddIndex__trackers__clientid()
	{
		return $this->afterAddIndex('trackers', 'clientid');
	}

	function beforeAddIndex__variables__variables_is_unique()
	{
		return $this->beforeAddIndex('variables', 'variables_is_unique');
	}

	function afterAddIndex__variables__variables_is_unique()
	{
		return $this->afterAddIndex('variables', 'variables_is_unique');
	}

	function beforeAddIndex__variables__trackerid()
	{
		return $this->beforeAddIndex('variables', 'trackerid');
	}

	function afterAddIndex__variables__trackerid()
	{
		return $this->afterAddIndex('variables', 'trackerid');
	}

	function beforeAddIndex__zones__affiliateid()
	{
		return $this->beforeAddIndex('zones', 'affiliateid');
	}

	function afterAddIndex__zones__affiliateid()
	{
		return $this->afterAddIndex('zones', 'affiliateid');
	}

}

?>