Fix subscription enum mismatch

This commit is contained in:
Hamza-Ayed
2026-04-18 01:34:03 +03:00
parent 9756adfaae
commit 9ce817a9bb

View File

@@ -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 })