Fix subscription enum mismatch
This commit is contained in:
@@ -55,11 +55,7 @@ export class Subscription {
|
||||
@Column({ type: 'decimal', precision: 10, scale: 2 })
|
||||
price_jod!: number;
|
||||
|
||||
@Column({
|
||||
type: 'enum',
|
||||
enum: ['monthly', 'annual'],
|
||||
default: 'monthly',
|
||||
})
|
||||
@Column({ type: 'varchar', length: 20, default: 'monthly' })
|
||||
billing_cycle!: string;
|
||||
|
||||
@Column({ type: 'timestamp', nullable: true })
|
||||
|
||||
Reference in New Issue
Block a user