CREATE TABLE tbltenant_plan_cancellation_actions(
    id BIGINT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
    tenant_id BIGINT UNSIGNED NOT NULL,
    FOREIGN KEY (tenant_id) REFERENCES tblltenants(id) ON DELETE CASCADE ON UPDATE CASCADE,
    plan_id INT UNSIGNED NOT NULL,
    stripe_subscription_id VARCHAR(191) NOT NULL,
    submit_id VARCHAR(191) DEFAULT NULL,
    action ENUM('cancel','reactivate') DEFAULT 'cancel',
    addedon DATETIME NOT NULL
);
ALTER TABLE tbltenant_plan_information ADD COLUMN is_plan_cancelled TINYINT(1) DEFAULT 0 AFTER is_plan_expired;