function stripe_update_7101 in Stripe 7
Install a webhook event database table for idempotency.
File
- ./
stripe.install, line 120 - Install, update and uninstall functions for the Stripe module.
Code
function stripe_update_7101(&$sandbox) {
if (!db_table_exists('stripe_webhook_events')) {
$schema = drupal_get_schema_unprocessed('stripe', 'stripe_webhook_events');
db_create_table('stripe_webhook_events', $schema);
}
}