UPDATE [dbo].[TenantBillings]
SET [PaymentProviderCustomerId] = @PaymentProviderCustomerId, [PaymentProviderSubscriptionId] = @PaymentProviderSubscriptionId, [Plan] = @Plan, [Status] = @Status, [MaxUsers] = @MaxUsers, [TokenQuota] = @TokenQuota, [DailyCostLimitUsd] = @DailyCostLimitUsd, [CostGuardrailBufferPercentage] = @CostGuardrailBufferPercentage, [LastUsageReminderSentUtc] = @LastUsageReminderSentUtc, [LastOutOfTokensReminderSentUtc] = @LastOutOfTokensReminderSentUtc
WHERE [TenantId] = @TenantId;
