00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 $installer = $this;
00029
00030
00031 $installer->startSetup();
00032
00033 $installer->run("
00034
00035 -- DROP TABLE IF EXISTS `{$this->getTable('paypal_api_debug')}`;
00036 CREATE TABLE `{$this->getTable('paypal_api_debug')}` (
00037 `debug_id` int(10) unsigned NOT NULL auto_increment,
00038 `debug_at` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
00039 `request_body` text,
00040 `response_body` text,
00041 PRIMARY KEY (`debug_id`),
00042 KEY `debug_at` (`debug_at`)
00043 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
00044
00045 ");
00046
00047 $installer->endSetup();
00048
00049 $installer->addAttribute('quote_payment', 'paypal_payer_id', array());
00050 $installer->addAttribute('quote_payment', 'paypal_payer_status', array());
00051 $installer->addAttribute('quote_payment', 'paypal_correlation_id', array());