fix: 归档删除改为软删除
This commit is contained in:
@@ -37,6 +37,9 @@ export class LearningRecord {
|
||||
nextStep: string;
|
||||
|
||||
|
||||
@Column({ type: 'varchar', length: 20, default: 'active' })
|
||||
status: 'active' | 'archived';
|
||||
|
||||
@CreateDateColumn({ name: 'created_at' })
|
||||
createdAt: Date;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user