@@ -146,7 +146,6 @@ export async function handleSubscriptionInvoicePaid(params: {
146146 ) ,
147147 billing_period_end : new Date ( stripeSub . current_period_end * 1000 ) ,
148148 cancel_at_period_end : stripeSub . cancel_at_period_end ,
149- updated_at : new Date ( ) ,
150149 } ,
151150 } )
152151
@@ -197,7 +196,6 @@ export async function handleSubscriptionInvoicePaymentFailed(params: {
197196 . update ( schema . subscription )
198197 . set ( {
199198 status : 'past_due' ,
200- updated_at : new Date ( ) ,
201199 } )
202200 . where ( eq ( schema . subscription . stripe_subscription_id , subscriptionId ) )
203201
@@ -310,7 +308,6 @@ export async function handleSubscriptionUpdated(params: {
310308 billing_period_end : new Date (
311309 stripeSubscription . current_period_end * 1000 ,
312310 ) ,
313- updated_at : new Date ( ) ,
314311 } ,
315312 } )
316313
@@ -356,7 +353,6 @@ export async function handleSubscriptionDeleted(params: {
356353 status : 'canceled' ,
357354 scheduled_tier : null ,
358355 canceled_at : new Date ( ) ,
359- updated_at : new Date ( ) ,
360356 } )
361357 . where ( eq ( schema . subscription . stripe_subscription_id , subscriptionId ) )
362358
@@ -456,7 +452,6 @@ export async function handleSubscriptionScheduleCreatedOrUpdated(params: {
456452 . update ( schema . subscription )
457453 . set ( {
458454 scheduled_tier : scheduledTier ,
459- updated_at : new Date ( ) ,
460455 } )
461456 . where ( eq ( schema . subscription . stripe_subscription_id , subscriptionId ) )
462457 . returning ( { tier : schema . subscription . tier } )
@@ -526,7 +521,6 @@ export async function handleSubscriptionScheduleReleasedOrCanceled(params: {
526521 . update ( schema . subscription )
527522 . set ( {
528523 scheduled_tier : null ,
529- updated_at : new Date ( ) ,
530524 } )
531525 . where ( eq ( schema . subscription . stripe_subscription_id , subscriptionId ) )
532526 . returning ( { tier : schema . subscription . tier } )
0 commit comments