t("Table for Ubercart payments trough iDEAL easy"), 'fields' => array( 'order_id' => array( 'description' => t('Primary Key: Unique order_id.'), 'type' => 'int', 'size' => 'medium', 'not null' => TRUE, ), 'transaction_id' => array( 'description' => t('transaction_id'), 'type' => 'int', 'size' => 'medium', 'not null' => TRUE, ), 'description' => array( 'description' => t('description'), 'type' => 'varchar', 'length' => 9, 'not null' => TRUE, ), 'order_status' => array( 'description' => t('A Unix timestamp indicating when the cache entry was created.'), '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'), ); 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'); }