Add unit tests for EconomicCustomerModel parsing and validation
This commit is contained in:
@@ -414,6 +414,17 @@ CREATE TABLE IF NOT EXISTS `stripe_module_orders` (
|
||||
`updated_at` DATETIME NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
|
||||
SQL,
|
||||
'stripe_module_customers' => <<<'SQL'
|
||||
CREATE TABLE IF NOT EXISTS `stripe_module_customers` (
|
||||
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
`email` VARCHAR(255) NOT NULL,
|
||||
`customer_id` VARCHAR(255) NOT NULL,
|
||||
`created_at` DATETIME NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `uniq_stripe_module_customers_email` (`email`),
|
||||
KEY `idx_stripe_module_customers_customer_id` (`customer_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
|
||||
SQL,
|
||||
'stripe_payment_intents' => <<<'SQL'
|
||||
CREATE TABLE IF NOT EXISTS `stripe_payment_intents` (
|
||||
|
||||
Reference in New Issue
Block a user