unique subscription id
This commit is contained in:
@@ -100,6 +100,6 @@ export class Restaurant extends BaseEntity {
|
||||
@Enum(() => PlanEnum)
|
||||
plan: PlanEnum = PlanEnum.Base;
|
||||
|
||||
@Property()
|
||||
@Property({unique: true})
|
||||
subscriptionId!: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user