PDOException Object
(
    [message:protected] => SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mag_ext_db.merchant_shipping_attachment_log' doesn't exist
    [string:Exception:private] => 
    [code:protected] => 42S02
    [file:protected] => /var/www/vhosts/stage/lib/Zend/Db/Statement/Pdo.php
    [line:protected] => 228
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/vhosts/stage/lib/Zend/Db/Statement/Pdo.php
                    [line] => 228
                    [function] => execute
                    [class] => PDOStatement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /var/www/vhosts/stage/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/vhosts/stage/lib/Zend/Db/Statement.php
                    [line] => 300
                    [function] => _execute
                    [class] => Varien_Db_Statement_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /var/www/vhosts/stage/lib/Zend/Db/Adapter/Abstract.php
                    [line] => 479
                    [function] => execute
                    [class] => Zend_Db_Statement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [4] => Array
                (
                    [file] => /var/www/vhosts/stage/lib/Zend/Db/Adapter/Pdo/Abstract.php
                    [line] => 238
                    [function] => query
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => ALTER TABLE mag_ext_db.merchant_shipping_attachment_log
    ADD COLUMN body MEDIUMTEXT AFTER recipient_name,
    ADD COLUMN content_type VARCHAR (100) AFTER body
                            [1] => Array
                                (
                                )

                        )

                )

            [5] => Array
                (
                    [file] => /var/www/vhosts/stage/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 389
                    [function] => query
                    [class] => Zend_Db_Adapter_Pdo_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => ALTER TABLE mag_ext_db.merchant_shipping_attachment_log
    ADD COLUMN body MEDIUMTEXT AFTER recipient_name,
    ADD COLUMN content_type VARCHAR (100) AFTER body
                            [1] => Array
                                (
                                )

                        )

                )

            [6] => Array
                (
                    [file] => /var/www/vhosts/stage/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 327
                    [function] => query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => ALTER TABLE mag_ext_db.merchant_shipping_attachment_log
    ADD COLUMN body MEDIUMTEXT AFTER recipient_name,
    ADD COLUMN content_type VARCHAR (100) AFTER body
                        )

                )

            [7] => Array
                (
                    [file] => /var/www/vhosts/stage/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 593
                    [function] => raw_query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => ALTER TABLE mag_ext_db.merchant_shipping_attachment_log
    ADD COLUMN body MEDIUMTEXT AFTER recipient_name,
    ADD COLUMN content_type VARCHAR (100) AFTER body
                        )

                )

            [8] => Array
                (
                    [file] => /var/www/vhosts/stage/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 575
                    [function] => multi_query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
    ALTER TABLE mag_ext_db.merchant_shipping_attachment_log
    ADD COLUMN body MEDIUMTEXT AFTER recipient_name,
    ADD COLUMN content_type VARCHAR (100) AFTER body

                        )

                )

            [9] => Array
                (
                    [file] => /var/www/vhosts/stage/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 933
                    [function] => multiQuery
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
    ALTER TABLE mag_ext_db.merchant_shipping_attachment_log
    ADD COLUMN body MEDIUMTEXT AFTER recipient_name,
    ADD COLUMN content_type VARCHAR (100) AFTER body

                        )

                )

            [10] => Array
                (
                    [file] => /var/www/vhosts/stage/app/code/local/Digistrive/Core/sql/dscore_setup/upgrade-0.1.2-0.1.3.php
                    [line] => 8
                    [function] => run
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
    ALTER TABLE mag_ext_db.merchant_shipping_attachment_log
    ADD COLUMN body MEDIUMTEXT AFTER recipient_name,
    ADD COLUMN content_type VARCHAR (100) AFTER body

                        )

                )

            [11] => Array
                (
                    [file] => /var/www/vhosts/stage/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 624
                    [args] => Array
                        (
                            [0] => /var/www/vhosts/stage/app/code/local/Digistrive/Core/sql/dscore_setup/upgrade-0.1.2-0.1.3.php
                        )

                    [function] => include
                )

            [12] => Array
                (
                    [file] => /var/www/vhosts/stage/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 437
                    [function] => _modifyResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => upgrade
                            [1] => 0.1.2
                            [2] => 0.1.3
                        )

                )

            [13] => Array
                (
                    [file] => /var/www/vhosts/stage/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 320
                    [function] => _upgradeResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 0.1.2
                            [1] => 0.1.3
                        )

                )

            [14] => Array
                (
                    [file] => /var/www/vhosts/stage/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 235
                    [function] => applyUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [15] => Array
                (
                    [file] => /var/www/vhosts/stage/app/code/core/Mage/Core/Model/App.php
                    [line] => 412
                    [function] => applyAllUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [16] => Array
                (
                    [file] => /var/www/vhosts/stage/app/code/core/Mage/Core/Model/App.php
                    [line] => 338
                    [function] => _initModules
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [17] => Array
                (
                    [file] => /var/www/vhosts/stage/app/Mage.php
                    [line] => 640
                    [function] => run
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [scope_code] => 
                                    [scope_type] => store
                                    [options] => Array
                                        (
                                        )

                                )

                        )

                )

            [18] => Array
                (
                    [file] => /var/www/vhosts/stage/index.php
                    [line] => 84
                    [function] => run
                    [class] => Mage
                    [type] => ::
                    [args] => Array
                        (
                            [0] => 
                            [1] => store
                        )

                )

        )

    [previous:Exception:private] => 
    [errorInfo] => Array
        (
            [0] => 42S02
            [1] => 1146
            [2] => Table 'mag_ext_db.merchant_shipping_attachment_log' doesn't exist
        )

)
Error in file: "/var/www/vhosts/stage/app/code/local/Digistrive/Core/sql/dscore_setup/upgrade-0.1.2-0.1.3.php" - SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mag_ext_db.merchant_shipping_attachment_log' doesn't exist

#0 /var/www/vhosts/stage/app/code/core/Mage/Core/Model/Resource/Setup.php(645): Mage::exception('Mage_Core', 'Error in file: ...')
#1 /var/www/vhosts/stage/app/code/core/Mage/Core/Model/Resource/Setup.php(437): Mage_Core_Model_Resource_Setup->_modifyResourceDb('upgrade', '0.1.2', '0.1.3')
#2 /var/www/vhosts/stage/app/code/core/Mage/Core/Model/Resource/Setup.php(320): Mage_Core_Model_Resource_Setup->_upgradeResourceDb('0.1.2', '0.1.3')
#3 /var/www/vhosts/stage/app/code/core/Mage/Core/Model/Resource/Setup.php(235): Mage_Core_Model_Resource_Setup->applyUpdates()
#4 /var/www/vhosts/stage/app/code/core/Mage/Core/Model/App.php(412): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#5 /var/www/vhosts/stage/app/code/core/Mage/Core/Model/App.php(338): Mage_Core_Model_App->_initModules()
#6 /var/www/vhosts/stage/app/Mage.php(640): Mage_Core_Model_App->run(Array)
#7 /var/www/vhosts/stage/index.php(84): Mage::run('', 'store')
#8 {main}