Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed typo in table generation code: updateD_at instead of update_at.

  • Loading branch information...
commit 951e76bd18a74653d1850f7690416e9a5f81d4cd 1 parent 86235e6
Bèr Kessels authored
Showing with 12 additions and 1 deletion.
  1. +12 −1 ideal_payment_api.install
View
13 ideal_payment_api.install
@@ -30,7 +30,7 @@ function ideal_payment_api_install() {
payment_status tinyint(4) NOT NULL,
foreign_id int(11) NOT NULL,
created_at int(11) NOT NULL,
- update_at int(11) NOT NULL,
+ updated_at int(11) NOT NULL,
PRIMARY KEY (oid)
) /*!40100 DEFAULT CHARACTER SET UTF8 */ ");
break;
@@ -71,6 +71,17 @@ function ideal_payment_api_update_5003() {
}
/**
+ * Implementation of hook_update_N().
+ * remove autoincrement and change to a slightly bigger int to store more orders.
+ */
+function ideal_payment_api_update_5004() {
+ $ret = array();
+ $ret[] = update_sql('ALTER TABLE {ideal_payment_api_orders} CHANGE update_at updated_at INT(11) NOT NULL DEFAULT 0');
+ return $ret;
+}
+
+
+/**
* Implementation of hook_uninstall().
*/
function ideal_payment_api_uninstall(){
Please sign in to comment.
Something went wrong with that request. Please try again.