Skip to content

Commit cd2b861

Browse files
authored
chore: support adjustment intervals for subscriptions (#23)
1 parent 040c874 commit cd2b861

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
alter table orb.subscriptions add adjustment_intervals JSONB;

packages/orb-sync-lib/src/schemas/subscription.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export const subscriptionSchema: JsonSchema = {
2828
start_date: { type: 'string' },
2929
status: { type: 'string' },
3030
trial_info: { type: 'object' },
31+
adjustment_intervals: { type: 'object' },
3132
},
3233
required: ['id'],
3334
} as const;

0 commit comments

Comments
 (0)