Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

434 B
Raw Blame
ALTER TABLE `user_addon`
  ADD COLUMN `recurringAmount` decimal(10,2) DEFAULT NULL AFTER `currency`,
  ADD COLUMN `lastChargeId` varchar(36) DEFAULT NULL AFTER `cancelledAt`,
  ADD COLUMN `lastChargeAt` timestamp NULL DEFAULT NULL AFTER `lastChargeId`;

ALTER TABLE `user_addon_charge`
  ADD COLUMN `idempotencyKey` varchar(191) DEFAULT NULL AFTER `periodEnd`,
  ADD UNIQUE KEY `IDX_user_addon_charge_idempotency` (`idempotencyKey`);