<?php

class Waindigo_InfusionsoftApi_Install_Controller extends Waindigo_Install
{

    protected $_resourceManagerUrl = 'http://xenforo.com/community/resources/infusionsoft-api-by-waindigo.3176/';

    protected function _getTableChanges()
    {
        return array(
            'xf_user_profile' => array(
                'infusionsoft_contact_id_waindigo' => 'int UNSIGNED NOT NULL DEFAULT 0', 
                'infusionsoft_last_updated_waindigo' => 'int UNSIGNED NOT NULL DEFAULT 0', 
                'infusionsoft_contact_group_ids_waindigo' => 'varchar(255) NOT NULL DEFAULT \'\'', 
            ), 
            'xf_user_upgrade' => array(
                'infusionsoft_product_id_waindigo' => 'int UNSIGNED NOT NULL DEFAULT 0', 
            ), 
        );
    }

    protected function _getAddOnTableChanges()
    {
        return array(
            'Waindigo_Invoices' => array(
                'invoice_waindigo' => array(
                    'infusionsoft_invoice_id_waindigo' => 'int UNSIGNED NOT NULL DEFAULT 0', 
                ), 
            ), 
        );
    }
}