PDOException Object
(
    [message:protected] => SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'shipping_type'
    [string:Exception:private] => 
    [code:protected] => 42S21
    [file:protected] => /home/s2as/public_html/lib/Zend/Db/Statement/Pdo.php
    [line:protected] => 228
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/s2as/public_html/lib/Zend/Db/Statement/Pdo.php
                    [line] => 228
                    [function] => execute
                    [class] => PDOStatement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /home/s2as/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php
                    [line] => 110
                    [function] => _execute
                    [class] => Zend_Db_Statement_Pdo
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [2] => Array
                (
                    [file] => /home/s2as/public_html/lib/Zend/Db/Statement.php
                    [line] => 300
                    [function] => _execute
                    [class] => Varien_Db_Statement_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /home/s2as/public_html/lib/Zend/Db/Adapter/Abstract.php
                    [line] => 479
                    [function] => execute
                    [class] => Zend_Db_Statement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [4] => Array
                (
                    [file] => /home/s2as/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php
                    [line] => 238
                    [function] => query
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => ALTER TABLE  `am_table_rate`  ADD  `shipping_type` INT( 10 ) NOT NULL DEFAULT '0' AFTER  `qty_to`
                            [1] => Array
                                (
                                )

                        )

                )

            [5] => Array
                (
                    [file] => /home/s2as/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 419
                    [function] => query
                    [class] => Zend_Db_Adapter_Pdo_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => ALTER TABLE  `am_table_rate`  ADD  `shipping_type` INT( 10 ) NOT NULL DEFAULT '0' AFTER  `qty_to`
                            [1] => Array
                                (
                                )

                        )

                )

            [6] => Array
                (
                    [file] => /home/s2as/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 340
                    [function] => query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => ALTER TABLE  `am_table_rate`  ADD  `shipping_type` INT( 10 ) NOT NULL DEFAULT '0' AFTER  `qty_to`
                        )

                )

            [7] => Array
                (
                    [file] => /home/s2as/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 608
                    [function] => raw_query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => ALTER TABLE  `am_table_rate`  ADD  `shipping_type` INT( 10 ) NOT NULL DEFAULT '0' AFTER  `qty_to`
                        )

                )

            [8] => Array
                (
                    [file] => /home/s2as/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 590
                    [function] => multi_query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
  ALTER TABLE  `am_table_rate`  ADD  `shipping_type` INT( 10 ) NOT NULL DEFAULT '0' AFTER  `qty_to`;

ALTER TABLE  `am_table_rate` DROP INDEX  `method_id` ,
ADD UNIQUE  `method_id` (  `method_id` ,  `country` ,  `state` ,  `city` ,  `zip_from` ,  `zip_to` ,  `price_from` ,  `price_to` ,  `weight_from` ,  `weight_to` ,  `qty_from` ,  `qty_to` ,  `shipping_type` );


                        )

                )

            [9] => Array
                (
                    [file] => /home/s2as/public_html/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  `am_table_rate`  ADD  `shipping_type` INT( 10 ) NOT NULL DEFAULT '0' AFTER  `qty_to`;

ALTER TABLE  `am_table_rate` DROP INDEX  `method_id` ,
ADD UNIQUE  `method_id` (  `method_id` ,  `country` ,  `state` ,  `city` ,  `zip_from` ,  `zip_to` ,  `price_from` ,  `price_to` ,  `weight_from` ,  `weight_to` ,  `qty_from` ,  `qty_to` ,  `shipping_type` );


                        )

                )

            [10] => Array
                (
                    [file] => /home/s2as/public_html/app/code/local/Amasty/Table/sql/amtable_setup/mysql4-upgrade-1.0.5-1.0.6.php
                    [line] => 15
                    [function] => run
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
  ALTER TABLE  `am_table_rate`  ADD  `shipping_type` INT( 10 ) NOT NULL DEFAULT '0' AFTER  `qty_to`;

ALTER TABLE  `am_table_rate` DROP INDEX  `method_id` ,
ADD UNIQUE  `method_id` (  `method_id` ,  `country` ,  `state` ,  `city` ,  `zip_from` ,  `zip_to` ,  `price_from` ,  `price_to` ,  `weight_from` ,  `weight_to` ,  `qty_from` ,  `qty_to` ,  `shipping_type` );


                        )

                )

            [11] => Array
                (
                    [file] => /home/s2as/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 624
                    [args] => Array
                        (
                            [0] => /home/s2as/public_html/app/code/local/Amasty/Table/sql/amtable_setup/mysql4-upgrade-1.0.5-1.0.6.php
                        )

                    [function] => include
                )

            [12] => Array
                (
                    [file] => /home/s2as/public_html/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] => 1.0.3
                            [2] => 2.1.2
                        )

                )

            [13] => Array
                (
                    [file] => /home/s2as/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 320
                    [function] => _upgradeResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 1.0.3
                            [1] => 2.1.2
                        )

                )

            [14] => Array
                (
                    [file] => /home/s2as/public_html/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] => /home/s2as/public_html/app/code/core/Mage/Core/Model/App.php
                    [line] => 417
                    [function] => applyAllUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [16] => Array
                (
                    [file] => /home/s2as/public_html/app/code/core/Mage/Core/Model/App.php
                    [line] => 343
                    [function] => _initModules
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [17] => Array
                (
                    [file] => /home/s2as/public_html/app/Mage.php
                    [line] => 698
                    [function] => run
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [scope_code] => 
                                    [scope_type] => store
                                    [options] => Array
                                        (
                                        )

                                )

                        )

                )

            [18] => Array
                (
                    [file] => /home/s2as/public_html/index.php
                    [line] => 119
                    [function] => run
                    [class] => Mage
                    [type] => ::
                    [args] => Array
                        (
                            [0] => 
                            [1] => store
                        )

                )

        )

    [previous:Exception:private] => 
    [errorInfo] => Array
        (
            [0] => 42S21
            [1] => 1060
            [2] => Duplicate column name 'shipping_type'
        )

)