Zend_Db_Statement_Exception Object
(
    [_previous:Zend_Exception:private] => 
    [message:protected] => SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'enterprise_giftcard_amount' already exists
    [string:Exception:private] => 
    [code:protected] => 42
    [file:protected] => /var/www/www.polar-ray.com/htdocs/lib/Zend/Db/Statement/Pdo.php
    [line:protected] => 234
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/www.polar-ray.com/htdocs/lib/Varien/Db/Statement/Pdo/Mysql.php
                    [line] => 110
                    [function] => _execute
                    [class] => Zend_Db_Statement_Pdo
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /var/www/www.polar-ray.com/htdocs/app/code/core/Zend/Db/Statement.php
                    [line] => 291
                    [function] => _execute
                    [class] => Varien_Db_Statement_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [2] => Array
                (
                    [file] => /var/www/www.polar-ray.com/htdocs/lib/Zend/Db/Adapter/Abstract.php
                    [line] => 480
                    [function] => execute
                    [class] => Zend_Db_Statement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /var/www/www.polar-ray.com/htdocs/lib/Zend/Db/Adapter/Pdo/Abstract.php
                    [line] => 238
                    [function] => query
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CREATE TABLE `enterprise_giftcard_amount` (
  `value_id` int NOT NULL auto_increment COMMENT 'Value Id' ,
  `website_id` smallint UNSIGNED NOT NULL default '0' COMMENT 'Website Id' ,
  `value` decimal(12,4) NOT NULL default '0.0000' COMMENT 'Value' ,
  `entity_id` int UNSIGNED NOT NULL default '0' COMMENT 'Entity Id' ,
  `entity_type_id` smallint UNSIGNED NOT NULL COMMENT 'Entity Type Id' ,
  `attribute_id` smallint UNSIGNED NOT NULL COMMENT 'Attribute Id' ,
  PRIMARY KEY (`value_id`),
  INDEX `IDX_ENTERPRISE_GIFTCARD_AMOUNT_ENTITY_ID` (`entity_id`),
  INDEX `IDX_ENTERPRISE_GIFTCARD_AMOUNT_WEBSITE_ID` (`website_id`),
  INDEX `IDX_ENTERPRISE_GIFTCARD_AMOUNT_ATTRIBUTE_ID` (`attribute_id`),
  CONSTRAINT `FK_ENT_GIFTCARD_AMOUNT_ENTT_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `FK_ENTERPRISE_GIFTCARD_AMOUNT_WEBSITE_ID_CORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `core_website` (`website_id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `FK_ENT_GIFTCARD_AMOUNT_ATTR_ID_EAV_ATTR_ATTR_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE ON UPDATE CASCADE
) COMMENT='Enterprise Giftcard Amount' ENGINE=INNODB charset=utf8 COLLATE=utf8_general_ci
                            [1] => Array
                                (
                                )

                        )

                )

            [4] => Array
                (
                    [file] => /var/www/www.polar-ray.com/htdocs/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 428
                    [function] => query
                    [class] => Zend_Db_Adapter_Pdo_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CREATE TABLE `enterprise_giftcard_amount` (
  `value_id` int NOT NULL auto_increment COMMENT 'Value Id' ,
  `website_id` smallint UNSIGNED NOT NULL default '0' COMMENT 'Website Id' ,
  `value` decimal(12,4) NOT NULL default '0.0000' COMMENT 'Value' ,
  `entity_id` int UNSIGNED NOT NULL default '0' COMMENT 'Entity Id' ,
  `entity_type_id` smallint UNSIGNED NOT NULL COMMENT 'Entity Type Id' ,
  `attribute_id` smallint UNSIGNED NOT NULL COMMENT 'Attribute Id' ,
  PRIMARY KEY (`value_id`),
  INDEX `IDX_ENTERPRISE_GIFTCARD_AMOUNT_ENTITY_ID` (`entity_id`),
  INDEX `IDX_ENTERPRISE_GIFTCARD_AMOUNT_WEBSITE_ID` (`website_id`),
  INDEX `IDX_ENTERPRISE_GIFTCARD_AMOUNT_ATTRIBUTE_ID` (`attribute_id`),
  CONSTRAINT `FK_ENT_GIFTCARD_AMOUNT_ENTT_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `FK_ENTERPRISE_GIFTCARD_AMOUNT_WEBSITE_ID_CORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `core_website` (`website_id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `FK_ENT_GIFTCARD_AMOUNT_ATTR_ID_EAV_ATTR_ATTR_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE ON UPDATE CASCADE
) COMMENT='Enterprise Giftcard Amount' ENGINE=INNODB charset=utf8 COLLATE=utf8_general_ci
                            [1] => Array
                                (
                                )

                        )

                )

            [5] => Array
                (
                    [file] => /var/www/www.polar-ray.com/htdocs/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 2117
                    [function] => query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CREATE TABLE `enterprise_giftcard_amount` (
  `value_id` int NOT NULL auto_increment COMMENT 'Value Id' ,
  `website_id` smallint UNSIGNED NOT NULL default '0' COMMENT 'Website Id' ,
  `value` decimal(12,4) NOT NULL default '0.0000' COMMENT 'Value' ,
  `entity_id` int UNSIGNED NOT NULL default '0' COMMENT 'Entity Id' ,
  `entity_type_id` smallint UNSIGNED NOT NULL COMMENT 'Entity Type Id' ,
  `attribute_id` smallint UNSIGNED NOT NULL COMMENT 'Attribute Id' ,
  PRIMARY KEY (`value_id`),
  INDEX `IDX_ENTERPRISE_GIFTCARD_AMOUNT_ENTITY_ID` (`entity_id`),
  INDEX `IDX_ENTERPRISE_GIFTCARD_AMOUNT_WEBSITE_ID` (`website_id`),
  INDEX `IDX_ENTERPRISE_GIFTCARD_AMOUNT_ATTRIBUTE_ID` (`attribute_id`),
  CONSTRAINT `FK_ENT_GIFTCARD_AMOUNT_ENTT_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `FK_ENTERPRISE_GIFTCARD_AMOUNT_WEBSITE_ID_CORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `core_website` (`website_id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `FK_ENT_GIFTCARD_AMOUNT_ATTR_ID_EAV_ATTR_ATTR_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE ON UPDATE CASCADE
) COMMENT='Enterprise Giftcard Amount' ENGINE=INNODB charset=utf8 COLLATE=utf8_general_ci
                        )

                )

            [6] => Array
                (
                    [file] => /var/www/www.polar-ray.com/htdocs/app/code/core/Enterprise/GiftCard/sql/enterprise_giftcard_setup/install-1.11.0.0.php
                    [line] => 80
                    [function] => createTable
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Varien_Db_Ddl_Table Object
                                (
                                    [_tableName:protected] => enterprise_giftcard_amount
                                    [_schemaName:protected] => 
                                    [_tableComment:protected] => Enterprise Giftcard Amount
                                    [_columns:protected] => Array
                                        (
                                            [VALUE_ID] => Array
                                                (
                                                    [COLUMN_NAME] => value_id
                                                    [COLUMN_TYPE] => integer
                                                    [COLUMN_POSITION] => 0
                                                    [DATA_TYPE] => integer
                                                    [DEFAULT] => 
                                                    [NULLABLE] => 
                                                    [LENGTH] => 
                                                    [SCALE] => 
                                                    [PRECISION] => 
                                                    [UNSIGNED] => 
                                                    [PRIMARY] => 1
                                                    [PRIMARY_POSITION] => 0
                                                    [IDENTITY] => 1
                                                    [COMMENT] => Value Id
                                                )

                                            [WEBSITE_ID] => Array
                                                (
                                                    [COLUMN_NAME] => website_id
                                                    [COLUMN_TYPE] => smallint
                                                    [COLUMN_POSITION] => 1
                                                    [DATA_TYPE] => smallint
                                                    [DEFAULT] => 0
                                                    [NULLABLE] => 
                                                    [LENGTH] => 
                                                    [SCALE] => 
                                                    [PRECISION] => 
                                                    [UNSIGNED] => 1
                                                    [PRIMARY] => 
                                                    [PRIMARY_POSITION] => 0
                                                    [IDENTITY] => 
                                                    [COMMENT] => Website Id
                                                )

                                            [VALUE] => Array
                                                (
                                                    [COLUMN_NAME] => value
                                                    [COLUMN_TYPE] => decimal
                                                    [COLUMN_POSITION] => 2
                                                    [DATA_TYPE] => decimal
                                                    [DEFAULT] => 0.0000
                                                    [NULLABLE] => 
                                                    [LENGTH] => 
                                                    [SCALE] => 4
                                                    [PRECISION] => 12
                                                    [UNSIGNED] => 
                                                    [PRIMARY] => 
                                                    [PRIMARY_POSITION] => 0
                                                    [IDENTITY] => 
                                                    [COMMENT] => Value
                                                )

                                            [ENTITY_ID] => Array
                                                (
                                                    [COLUMN_NAME] => entity_id
                                                    [COLUMN_TYPE] => integer
                                                    [COLUMN_POSITION] => 3
                                                    [DATA_TYPE] => integer
                                                    [DEFAULT] => 0
                                                    [NULLABLE] => 
                                                    [LENGTH] => 
                                                    [SCALE] => 
                                                    [PRECISION] => 
                                                    [UNSIGNED] => 1
                                                    [PRIMARY] => 
                                                    [PRIMARY_POSITION] => 0
                                                    [IDENTITY] => 
                                                    [COMMENT] => Entity Id
                                                )

                                            [ENTITY_TYPE_ID] => Array
                                                (
                                                    [COLUMN_NAME] => entity_type_id
                                                    [COLUMN_TYPE] => smallint
                                                    [COLUMN_POSITION] => 4
                                                    [DATA_TYPE] => smallint
                                                    [DEFAULT] => 
                                                    [NULLABLE] => 
                                                    [LENGTH] => 
                                                    [SCALE] => 
                                                    [PRECISION] => 
                                                    [UNSIGNED] => 1
                                                    [PRIMARY] => 
                                                    [PRIMARY_POSITION] => 0
                                                    [IDENTITY] => 
                                                    [COMMENT] => Entity Type Id
                                                )

                                            [ATTRIBUTE_ID] => Array
                                                (
                                                    [COLUMN_NAME] => attribute_id
                                                    [COLUMN_TYPE] => smallint
                                                    [COLUMN_POSITION] => 5
                                                    [DATA_TYPE] => smallint
                                                    [DEFAULT] => 
                                                    [NULLABLE] => 
                                                    [LENGTH] => 
                                                    [SCALE] => 
                                                    [PRECISION] => 
                                                    [UNSIGNED] => 1
                                                    [PRIMARY] => 
                                                    [PRIMARY_POSITION] => 0
                                                    [IDENTITY] => 
                                                    [COMMENT] => Attribute Id
                                                )

                                        )

                                    [_indexes:protected] => Array
                                        (
                                            [IDX_ENTERPRISE_GIFTCARD_AMOUNT_ENTITY_ID] => Array
                                                (
                                                    [INDEX_NAME] => IDX_ENTERPRISE_GIFTCARD_AMOUNT_ENTITY_ID
                                                    [COLUMNS] => Array
                                                        (
                                                            [ENTITY_ID] => Array
                                                                (
                                                                    [NAME] => entity_id
                                                                    [SIZE] => 
                                                                    [POSITION] => 0
                                                                )

                                                        )

                                                    [TYPE] => index
                                                )

                                            [IDX_ENTERPRISE_GIFTCARD_AMOUNT_WEBSITE_ID] => Array
                                                (
                                                    [INDEX_NAME] => IDX_ENTERPRISE_GIFTCARD_AMOUNT_WEBSITE_ID
                                                    [COLUMNS] => Array
                                                        (
                                                            [WEBSITE_ID] => Array
                                                                (
                                                                    [NAME] => website_id
                                                                    [SIZE] => 
                                                                    [POSITION] => 0
                                                                )

                                                        )

                                                    [TYPE] => index
                                                )

                                            [IDX_ENTERPRISE_GIFTCARD_AMOUNT_ATTRIBUTE_ID] => Array
                                                (
                                                    [INDEX_NAME] => IDX_ENTERPRISE_GIFTCARD_AMOUNT_ATTRIBUTE_ID
                                                    [COLUMNS] => Array
                                                        (
                                                            [ATTRIBUTE_ID] => Array
                                                                (
                                                                    [NAME] => attribute_id
                                                                    [SIZE] => 
                                                                    [POSITION] => 0
                                                                )

                                                        )

                                                    [TYPE] => index
                                                )

                                        )

                                    [_foreignKeys:protected] => Array
                                        (
                                            [FK_ENT_GIFTCARD_AMOUNT_ENTT_ID_CAT_PRD_ENTT_ENTT_ID] => Array
                                                (
                                                    [FK_NAME] => FK_ENT_GIFTCARD_AMOUNT_ENTT_ID_CAT_PRD_ENTT_ENTT_ID
                                                    [COLUMN_NAME] => entity_id
                                                    [REF_TABLE_NAME] => catalog_product_entity
                                                    [REF_COLUMN_NAME] => entity_id
                                                    [ON_DELETE] => CASCADE
                                                    [ON_UPDATE] => CASCADE
                                                )

                                            [FK_ENTERPRISE_GIFTCARD_AMOUNT_WEBSITE_ID_CORE_WEBSITE_WEBSITE_ID] => Array
                                                (
                                                    [FK_NAME] => FK_ENTERPRISE_GIFTCARD_AMOUNT_WEBSITE_ID_CORE_WEBSITE_WEBSITE_ID
                                                    [COLUMN_NAME] => website_id
                                                    [REF_TABLE_NAME] => core_website
                                                    [REF_COLUMN_NAME] => website_id
                                                    [ON_DELETE] => CASCADE
                                                    [ON_UPDATE] => CASCADE
                                                )

                                            [FK_ENT_GIFTCARD_AMOUNT_ATTR_ID_EAV_ATTR_ATTR_ID] => Array
                                                (
                                                    [FK_NAME] => FK_ENT_GIFTCARD_AMOUNT_ATTR_ID_EAV_ATTR_ATTR_ID
                                                    [COLUMN_NAME] => attribute_id
                                                    [REF_TABLE_NAME] => eav_attribute
                                                    [REF_COLUMN_NAME] => attribute_id
                                                    [ON_DELETE] => CASCADE
                                                    [ON_UPDATE] => CASCADE
                                                )

                                        )

                                    [_options:protected] => Array
                                        (
                                            [type] => INNODB
                                            [charset] => utf8
                                            [collate] => utf8_general_ci
                                        )

                                )

                        )

                )

            [7] => Array
                (
                    [file] => /var/www/www.polar-ray.com/htdocs/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 624
                    [args] => Array
                        (
                            [0] => /var/www/www.polar-ray.com/htdocs/app/code/core/Enterprise/GiftCard/sql/enterprise_giftcard_setup/install-1.11.0.0.php
                        )

                    [function] => include
                )

            [8] => Array
                (
                    [file] => /var/www/www.polar-ray.com/htdocs/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 421
                    [function] => _modifyResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => install
                            [1] => 
                            [2] => 1.11.0.0
                        )

                )

            [9] => Array
                (
                    [file] => /var/www/www.polar-ray.com/htdocs/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 327
                    [function] => _installResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 1.11.0.0
                        )

                )

            [10] => Array
                (
                    [file] => /var/www/www.polar-ray.com/htdocs/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 235
                    [function] => applyUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [11] => Array
                (
                    [file] => /var/www/www.polar-ray.com/htdocs/app/code/core/Mage/Core/Model/App.php
                    [line] => 417
                    [function] => applyAllUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [12] => Array
                (
                    [file] => /var/www/www.polar-ray.com/htdocs/app/code/core/Mage/Core/Model/App.php
                    [line] => 343
                    [function] => _initModules
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [13] => Array
                (
                    [file] => /var/www/www.polar-ray.com/htdocs/app/Mage.php
                    [line] => 684
                    [function] => run
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [scope_code] => 
                                    [scope_type] => store
                                    [options] => Array
                                        (
                                        )

                                )

                        )

                )

            [14] => Array
                (
                    [file] => /var/www/www.polar-ray.com/htdocs/index.php
                    [line] => 87
                    [function] => run
                    [class] => Mage
                    [type] => ::
                    [args] => Array
                        (
                            [0] => 
                            [1] => store
                        )

                )

        )

    [previous:Exception:private] => PDOException Object
        (
            [message:protected] => SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'enterprise_giftcard_amount' already exists
            [string:Exception:private] => 
            [code:protected] => 42S01
            [file:protected] => /var/www/www.polar-ray.com/htdocs/lib/Zend/Db/Statement/Pdo.php
            [line:protected] => 228
            [trace:Exception:private] => Array
                (
                    [0] => Array
                        (
                            [file] => /var/www/www.polar-ray.com/htdocs/lib/Zend/Db/Statement/Pdo.php
                            [line] => 228
                            [function] => execute
                            [class] => PDOStatement
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                        )

                                )

                        )

                    [1] => Array
                        (
                            [file] => /var/www/www.polar-ray.com/htdocs/lib/Varien/Db/Statement/Pdo/Mysql.php
                            [line] => 110
                            [function] => _execute
                            [class] => Zend_Db_Statement_Pdo
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                        )

                                )

                        )

                    [2] => Array
                        (
                            [file] => /var/www/www.polar-ray.com/htdocs/app/code/core/Zend/Db/Statement.php
                            [line] => 291
                            [function] => _execute
                            [class] => Varien_Db_Statement_Pdo_Mysql
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                        )

                                )

                        )

                    [3] => Array
                        (
                            [file] => /var/www/www.polar-ray.com/htdocs/lib/Zend/Db/Adapter/Abstract.php
                            [line] => 480
                            [function] => execute
                            [class] => Zend_Db_Statement
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                        )

                                )

                        )

                    [4] => Array
                        (
                            [file] => /var/www/www.polar-ray.com/htdocs/lib/Zend/Db/Adapter/Pdo/Abstract.php
                            [line] => 238
                            [function] => query
                            [class] => Zend_Db_Adapter_Abstract
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => CREATE TABLE `enterprise_giftcard_amount` (
  `value_id` int NOT NULL auto_increment COMMENT 'Value Id' ,
  `website_id` smallint UNSIGNED NOT NULL default '0' COMMENT 'Website Id' ,
  `value` decimal(12,4) NOT NULL default '0.0000' COMMENT 'Value' ,
  `entity_id` int UNSIGNED NOT NULL default '0' COMMENT 'Entity Id' ,
  `entity_type_id` smallint UNSIGNED NOT NULL COMMENT 'Entity Type Id' ,
  `attribute_id` smallint UNSIGNED NOT NULL COMMENT 'Attribute Id' ,
  PRIMARY KEY (`value_id`),
  INDEX `IDX_ENTERPRISE_GIFTCARD_AMOUNT_ENTITY_ID` (`entity_id`),
  INDEX `IDX_ENTERPRISE_GIFTCARD_AMOUNT_WEBSITE_ID` (`website_id`),
  INDEX `IDX_ENTERPRISE_GIFTCARD_AMOUNT_ATTRIBUTE_ID` (`attribute_id`),
  CONSTRAINT `FK_ENT_GIFTCARD_AMOUNT_ENTT_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `FK_ENTERPRISE_GIFTCARD_AMOUNT_WEBSITE_ID_CORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `core_website` (`website_id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `FK_ENT_GIFTCARD_AMOUNT_ATTR_ID_EAV_ATTR_ATTR_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE ON UPDATE CASCADE
) COMMENT='Enterprise Giftcard Amount' ENGINE=INNODB charset=utf8 COLLATE=utf8_general_ci
                                    [1] => Array
                                        (
                                        )

                                )

                        )

                    [5] => Array
                        (
                            [file] => /var/www/www.polar-ray.com/htdocs/lib/Varien/Db/Adapter/Pdo/Mysql.php
                            [line] => 428
                            [function] => query
                            [class] => Zend_Db_Adapter_Pdo_Abstract
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => CREATE TABLE `enterprise_giftcard_amount` (
  `value_id` int NOT NULL auto_increment COMMENT 'Value Id' ,
  `website_id` smallint UNSIGNED NOT NULL default '0' COMMENT 'Website Id' ,
  `value` decimal(12,4) NOT NULL default '0.0000' COMMENT 'Value' ,
  `entity_id` int UNSIGNED NOT NULL default '0' COMMENT 'Entity Id' ,
  `entity_type_id` smallint UNSIGNED NOT NULL COMMENT 'Entity Type Id' ,
  `attribute_id` smallint UNSIGNED NOT NULL COMMENT 'Attribute Id' ,
  PRIMARY KEY (`value_id`),
  INDEX `IDX_ENTERPRISE_GIFTCARD_AMOUNT_ENTITY_ID` (`entity_id`),
  INDEX `IDX_ENTERPRISE_GIFTCARD_AMOUNT_WEBSITE_ID` (`website_id`),
  INDEX `IDX_ENTERPRISE_GIFTCARD_AMOUNT_ATTRIBUTE_ID` (`attribute_id`),
  CONSTRAINT `FK_ENT_GIFTCARD_AMOUNT_ENTT_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `FK_ENTERPRISE_GIFTCARD_AMOUNT_WEBSITE_ID_CORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `core_website` (`website_id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `FK_ENT_GIFTCARD_AMOUNT_ATTR_ID_EAV_ATTR_ATTR_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE ON UPDATE CASCADE
) COMMENT='Enterprise Giftcard Amount' ENGINE=INNODB charset=utf8 COLLATE=utf8_general_ci
                                    [1] => Array
                                        (
                                        )

                                )

                        )

                    [6] => Array
                        (
                            [file] => /var/www/www.polar-ray.com/htdocs/lib/Varien/Db/Adapter/Pdo/Mysql.php
                            [line] => 2117
                            [function] => query
                            [class] => Varien_Db_Adapter_Pdo_Mysql
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => CREATE TABLE `enterprise_giftcard_amount` (
  `value_id` int NOT NULL auto_increment COMMENT 'Value Id' ,
  `website_id` smallint UNSIGNED NOT NULL default '0' COMMENT 'Website Id' ,
  `value` decimal(12,4) NOT NULL default '0.0000' COMMENT 'Value' ,
  `entity_id` int UNSIGNED NOT NULL default '0' COMMENT 'Entity Id' ,
  `entity_type_id` smallint UNSIGNED NOT NULL COMMENT 'Entity Type Id' ,
  `attribute_id` smallint UNSIGNED NOT NULL COMMENT 'Attribute Id' ,
  PRIMARY KEY (`value_id`),
  INDEX `IDX_ENTERPRISE_GIFTCARD_AMOUNT_ENTITY_ID` (`entity_id`),
  INDEX `IDX_ENTERPRISE_GIFTCARD_AMOUNT_WEBSITE_ID` (`website_id`),
  INDEX `IDX_ENTERPRISE_GIFTCARD_AMOUNT_ATTRIBUTE_ID` (`attribute_id`),
  CONSTRAINT `FK_ENT_GIFTCARD_AMOUNT_ENTT_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `FK_ENTERPRISE_GIFTCARD_AMOUNT_WEBSITE_ID_CORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `core_website` (`website_id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `FK_ENT_GIFTCARD_AMOUNT_ATTR_ID_EAV_ATTR_ATTR_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE ON UPDATE CASCADE
) COMMENT='Enterprise Giftcard Amount' ENGINE=INNODB charset=utf8 COLLATE=utf8_general_ci
                                )

                        )

                    [7] => Array
                        (
                            [file] => /var/www/www.polar-ray.com/htdocs/app/code/core/Enterprise/GiftCard/sql/enterprise_giftcard_setup/install-1.11.0.0.php
                            [line] => 80
                            [function] => createTable
                            [class] => Varien_Db_Adapter_Pdo_Mysql
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Varien_Db_Ddl_Table Object
                                        (
                                            [_tableName:protected] => enterprise_giftcard_amount
                                            [_schemaName:protected] => 
                                            [_tableComment:protected] => Enterprise Giftcard Amount
                                            [_columns:protected] => Array
                                                (
                                                    [VALUE_ID] => Array
                                                        (
                                                            [COLUMN_NAME] => value_id
                                                            [COLUMN_TYPE] => integer
                                                            [COLUMN_POSITION] => 0
                                                            [DATA_TYPE] => integer
                                                            [DEFAULT] => 
                                                            [NULLABLE] => 
                                                            [LENGTH] => 
                                                            [SCALE] => 
                                                            [PRECISION] => 
                                                            [UNSIGNED] => 
                                                            [PRIMARY] => 1
                                                            [PRIMARY_POSITION] => 0
                                                            [IDENTITY] => 1
                                                            [COMMENT] => Value Id
                                                        )

                                                    [WEBSITE_ID] => Array
                                                        (
                                                            [COLUMN_NAME] => website_id
                                                            [COLUMN_TYPE] => smallint
                                                            [COLUMN_POSITION] => 1
                                                            [DATA_TYPE] => smallint
                                                            [DEFAULT] => 0
                                                            [NULLABLE] => 
                                                            [LENGTH] => 
                                                            [SCALE] => 
                                                            [PRECISION] => 
                                                            [UNSIGNED] => 1
                                                            [PRIMARY] => 
                                                            [PRIMARY_POSITION] => 0
                                                            [IDENTITY] => 
                                                            [COMMENT] => Website Id
                                                        )

                                                    [VALUE] => Array
                                                        (
                                                            [COLUMN_NAME] => value
                                                            [COLUMN_TYPE] => decimal
                                                            [COLUMN_POSITION] => 2
                                                            [DATA_TYPE] => decimal
                                                            [DEFAULT] => 0.0000
                                                            [NULLABLE] => 
                                                            [LENGTH] => 
                                                            [SCALE] => 4
                                                            [PRECISION] => 12
                                                            [UNSIGNED] => 
                                                            [PRIMARY] => 
                                                            [PRIMARY_POSITION] => 0
                                                            [IDENTITY] => 
                                                            [COMMENT] => Value
                                                        )

                                                    [ENTITY_ID] => Array
                                                        (
                                                            [COLUMN_NAME] => entity_id
                                                            [COLUMN_TYPE] => integer
                                                            [COLUMN_POSITION] => 3
                                                            [DATA_TYPE] => integer
                                                            [DEFAULT] => 0
                                                            [NULLABLE] => 
                                                            [LENGTH] => 
                                                            [SCALE] => 
                                                            [PRECISION] => 
                                                            [UNSIGNED] => 1
                                                            [PRIMARY] => 
                                                            [PRIMARY_POSITION] => 0
                                                            [IDENTITY] => 
                                                            [COMMENT] => Entity Id
                                                        )

                                                    [ENTITY_TYPE_ID] => Array
                                                        (
                                                            [COLUMN_NAME] => entity_type_id
                                                            [COLUMN_TYPE] => smallint
                                                            [COLUMN_POSITION] => 4
                                                            [DATA_TYPE] => smallint
                                                            [DEFAULT] => 
                                                            [NULLABLE] => 
                                                            [LENGTH] => 
                                                            [SCALE] => 
                                                            [PRECISION] => 
                                                            [UNSIGNED] => 1
                                                            [PRIMARY] => 
                                                            [PRIMARY_POSITION] => 0
                                                            [IDENTITY] => 
                                                            [COMMENT] => Entity Type Id
                                                        )

                                                    [ATTRIBUTE_ID] => Array
                                                        (
                                                            [COLUMN_NAME] => attribute_id
                                                            [COLUMN_TYPE] => smallint
                                                            [COLUMN_POSITION] => 5
                                                            [DATA_TYPE] => smallint
                                                            [DEFAULT] => 
                                                            [NULLABLE] => 
                                                            [LENGTH] => 
                                                            [SCALE] => 
                                                            [PRECISION] => 
                                                            [UNSIGNED] => 1
                                                            [PRIMARY] => 
                                                            [PRIMARY_POSITION] => 0
                                                            [IDENTITY] => 
                                                            [COMMENT] => Attribute Id
                                                        )

                                                )

                                            [_indexes:protected] => Array
                                                (
                                                    [IDX_ENTERPRISE_GIFTCARD_AMOUNT_ENTITY_ID] => Array
                                                        (
                                                            [INDEX_NAME] => IDX_ENTERPRISE_GIFTCARD_AMOUNT_ENTITY_ID
                                                            [COLUMNS] => Array
                                                                (
                                                                    [ENTITY_ID] => Array
                                                                        (
                                                                            [NAME] => entity_id
                                                                            [SIZE] => 
                                                                            [POSITION] => 0
                                                                        )

                                                                )

                                                            [TYPE] => index
                                                        )

                                                    [IDX_ENTERPRISE_GIFTCARD_AMOUNT_WEBSITE_ID] => Array
                                                        (
                                                            [INDEX_NAME] => IDX_ENTERPRISE_GIFTCARD_AMOUNT_WEBSITE_ID
                                                            [COLUMNS] => Array
                                                                (
                                                                    [WEBSITE_ID] => Array
                                                                        (
                                                                            [NAME] => website_id
                                                                            [SIZE] => 
                                                                            [POSITION] => 0
                                                                        )

                                                                )

                                                            [TYPE] => index
                                                        )

                                                    [IDX_ENTERPRISE_GIFTCARD_AMOUNT_ATTRIBUTE_ID] => Array
                                                        (
                                                            [INDEX_NAME] => IDX_ENTERPRISE_GIFTCARD_AMOUNT_ATTRIBUTE_ID
                                                            [COLUMNS] => Array
                                                                (
                                                                    [ATTRIBUTE_ID] => Array
                                                                        (
                                                                            [NAME] => attribute_id
                                                                            [SIZE] => 
                                                                            [POSITION] => 0
                                                                        )

                                                                )

                                                            [TYPE] => index
                                                        )

                                                )

                                            [_foreignKeys:protected] => Array
                                                (
                                                    [FK_ENT_GIFTCARD_AMOUNT_ENTT_ID_CAT_PRD_ENTT_ENTT_ID] => Array
                                                        (
                                                            [FK_NAME] => FK_ENT_GIFTCARD_AMOUNT_ENTT_ID_CAT_PRD_ENTT_ENTT_ID
                                                            [COLUMN_NAME] => entity_id
                                                            [REF_TABLE_NAME] => catalog_product_entity
                                                            [REF_COLUMN_NAME] => entity_id
                                                            [ON_DELETE] => CASCADE
                                                            [ON_UPDATE] => CASCADE
                                                        )

                                                    [FK_ENTERPRISE_GIFTCARD_AMOUNT_WEBSITE_ID_CORE_WEBSITE_WEBSITE_ID] => Array
                                                        (
                                                            [FK_NAME] => FK_ENTERPRISE_GIFTCARD_AMOUNT_WEBSITE_ID_CORE_WEBSITE_WEBSITE_ID
                                                            [COLUMN_NAME] => website_id
                                                            [REF_TABLE_NAME] => core_website
                                                            [REF_COLUMN_NAME] => website_id
                                                            [ON_DELETE] => CASCADE
                                                            [ON_UPDATE] => CASCADE
                                                        )

                                                    [FK_ENT_GIFTCARD_AMOUNT_ATTR_ID_EAV_ATTR_ATTR_ID] => Array
                                                        (
                                                            [FK_NAME] => FK_ENT_GIFTCARD_AMOUNT_ATTR_ID_EAV_ATTR_ATTR_ID
                                                            [COLUMN_NAME] => attribute_id
                                                            [REF_TABLE_NAME] => eav_attribute
                                                            [REF_COLUMN_NAME] => attribute_id
                                                            [ON_DELETE] => CASCADE
                                                            [ON_UPDATE] => CASCADE
                                                        )

                                                )

                                            [_options:protected] => Array
                                                (
                                                    [type] => INNODB
                                                    [charset] => utf8
                                                    [collate] => utf8_general_ci
                                                )

                                        )

                                )

                        )

                    [8] => Array
                        (
                            [file] => /var/www/www.polar-ray.com/htdocs/app/code/core/Mage/Core/Model/Resource/Setup.php
                            [line] => 624
                            [args] => Array
                                (
                                    [0] => /var/www/www.polar-ray.com/htdocs/app/code/core/Enterprise/GiftCard/sql/enterprise_giftcard_setup/install-1.11.0.0.php
                                )

                            [function] => include
                        )

                    [9] => Array
                        (
                            [file] => /var/www/www.polar-ray.com/htdocs/app/code/core/Mage/Core/Model/Resource/Setup.php
                            [line] => 421
                            [function] => _modifyResourceDb
                            [class] => Mage_Core_Model_Resource_Setup
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => install
                                    [1] => 
                                    [2] => 1.11.0.0
                                )

                        )

                    [10] => Array
                        (
                            [file] => /var/www/www.polar-ray.com/htdocs/app/code/core/Mage/Core/Model/Resource/Setup.php
                            [line] => 327
                            [function] => _installResourceDb
                            [class] => Mage_Core_Model_Resource_Setup
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => 1.11.0.0
                                )

                        )

                    [11] => Array
                        (
                            [file] => /var/www/www.polar-ray.com/htdocs/app/code/core/Mage/Core/Model/Resource/Setup.php
                            [line] => 235
                            [function] => applyUpdates
                            [class] => Mage_Core_Model_Resource_Setup
                            [type] => ->
                            [args] => Array
                                (
                                )

                        )

                    [12] => Array
                        (
                            [file] => /var/www/www.polar-ray.com/htdocs/app/code/core/Mage/Core/Model/App.php
                            [line] => 417
                            [function] => applyAllUpdates
                            [class] => Mage_Core_Model_Resource_Setup
                            [type] => ::
                            [args] => Array
                                (
                                )

                        )

                    [13] => Array
                        (
                            [file] => /var/www/www.polar-ray.com/htdocs/app/code/core/Mage/Core/Model/App.php
                            [line] => 343
                            [function] => _initModules
                            [class] => Mage_Core_Model_App
                            [type] => ->
                            [args] => Array
                                (
                                )

                        )

                    [14] => Array
                        (
                            [file] => /var/www/www.polar-ray.com/htdocs/app/Mage.php
                            [line] => 684
                            [function] => run
                            [class] => Mage_Core_Model_App
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [scope_code] => 
                                            [scope_type] => store
                                            [options] => Array
                                                (
                                                )

                                        )

                                )

                        )

                    [15] => Array
                        (
                            [file] => /var/www/www.polar-ray.com/htdocs/index.php
                            [line] => 87
                            [function] => run
                            [class] => Mage
                            [type] => ::
                            [args] => Array
                                (
                                    [0] => 
                                    [1] => store
                                )

                        )

                )

            [previous:Exception:private] => 
            [errorInfo] => Array
                (
                    [0] => 42S01
                    [1] => 1050
                    [2] => Table 'enterprise_giftcard_amount' already exists
                )

        )

)