chore: add update and delete of learning and learnign category

This commit is contained in:
mahyargdz
2025-03-04 15:18:02 +03:30
parent 3db3a1de99
commit 1b1c532488
10 changed files with 157 additions and 99 deletions
@@ -12,6 +12,6 @@ export class LearningProgress extends BaseEntity {
@ManyToOne(() => Learning, (learning) => learning.learningProgress)
learning: Learning;
@Column({ type: "timestamp", default: () => "CURRENT_TIMESTAMP" })
@Column({ type: "timestamptz", default: () => "CURRENT_TIMESTAMP" })
watchedAt: Date;
}