Relates to #205
backend/src/features/subscriptions/migrations/002_nullable_stripe_customer_id.sql
backend/src/features/subscriptions/domain/subscriptions.types.ts
frontend/src/features/subscription/types/subscription.types.ts
New migration 002_nullable_stripe_customer_id.sql:
002_nullable_stripe_customer_id.sql
Backend type (subscriptions.types.ts):
subscriptions.types.ts
Subscription
stripeCustomerId: string
stripeCustomerId: string | null
SubscriptionResponse
UpdateSubscriptionData
stripeCustomerId?: string
stripeCustomerId?: string | null
Frontend type (subscription.types.ts):
subscription.types.ts
No dependencies set.
The note is not visible to the blocked user.
Relates to #205
Milestone 1: Database migration + type definitions
Files
backend/src/features/subscriptions/migrations/002_nullable_stripe_customer_id.sql(NEW)backend/src/features/subscriptions/domain/subscriptions.types.tsfrontend/src/features/subscription/types/subscription.types.tsChanges
New migration
002_nullable_stripe_customer_id.sql:Backend type (
subscriptions.types.ts):Subscriptioninterface: changestripeCustomerId: stringtostripeCustomerId: string | nullSubscriptionResponsetype: changestripeCustomerId: stringtostripeCustomerId: string | nullUpdateSubscriptionDatatype: changestripeCustomerId?: stringtostripeCustomerId?: string | nullFrontend type (
subscription.types.ts):stripeCustomerId: stringtostripeCustomerId: string | nullAcceptance Criteria