--- uc_ideal_easy_payment.install	2009-08-08 07:45:42.000000000 +0200
+++ uc_ideal_easy_payment.fixed.install	2010-05-07 21:46:36.000000000 +0200
@@ -3,42 +3,42 @@
 
 function uc_ideal_easy_payment_schema() {
   $schema['uc_payment_ideal_easy'] = array(
-    'description' => t("Table for Ubercart payments trough iDEAL easy"),
+    'description' => t("Table for Ubercart payments through iDEAL easy"),
     'fields' => array(
       'order_id' => array(
         'description' => t('Primary Key: Unique order_id.'),
-        'type' => 'mediumint',
-        'length' => 9,
+        'type' => 'int',
+        'size' => 'medium',
         'not null' => TRUE),
       'transaction_id' => array(
         'description' => t('transaction_id'),
-        'type' => 'mediumint',
-				'length' => 9,
+        'type' => 'int',
+        'size' => 'medium',
         'not null' => TRUE),
       'description' => array(
         'description' => t('description'),
         'type' => 'varchar',
-        'not null' => TRUE,
-        'length' => 9),
+        'length' => 9,
+        'not null' => TRUE),
       'order_status' => array(
         'description' => t('A Unix timestamp indicating when the cache entry was created.'),
-        'type' => 'tinyint',
-        'not null' => TRUE,
-        'length' => 4),
+        'type' => 'int',
+        'size' => 'tiny',
+        'not null' => TRUE),
       'return_succes' => array(
         'description' => t('Any custom HTTP headers to be added to cached data.'),
         'type' => 'text',
         'not null' => TRUE)
-      ),
-    'primary key' => array('order_id'),
-    );
+    ),
+  'primary key' => array('order_id'),
+  );
   return $schema;
 }
 
 function uc_ideal_easy_payment_install() {
-  drupal_install_schema('uc_payment_ideal_easy');
+  drupal_install_schema('uc_ideal_easy_payment');
 }
 
 function uc_ideal_easy_payment_uninstall() {
-  drupal_uninstall_schema('uc_payment_ideal_easy');
+  drupal_uninstall_schema('uc_ideal_easy_payment');
 }
