diff --git a/app/code/core/Mage/Api/etc/config.xml b/app/code/core/Mage/Api/etc/config.xml index 783088142d6..770ca2c6865 100644 --- a/app/code/core/Mage/Api/etc/config.xml +++ b/app/code/core/Mage/Api/etc/config.xml @@ -17,7 +17,7 @@ - 1.6.0.2 + 1.6.0.3 diff --git a/app/code/core/Mage/Api/sql/api_setup/mysql4-upgrade-1.6.0.2-1.6.0.3.php b/app/code/core/Mage/Api/sql/api_setup/mysql4-upgrade-1.6.0.2-1.6.0.3.php new file mode 100644 index 00000000000..5a72f813794 --- /dev/null +++ b/app/code/core/Mage/Api/sql/api_setup/mysql4-upgrade-1.6.0.2-1.6.0.3.php @@ -0,0 +1,31 @@ +startSetup(); + +$this->getConnection()->changeColumn( + $this->getTable('api/user'), + 'lognum', + 'lognum', + [ + 'type' => Varien_Db_Ddl_Table::TYPE_INTEGER, + 'unsigned' => true, + 'nullable' => false, + 'default' => '0', + 'comment' => 'Quantity of log ins' + ] +); + +$this->endSetup();