feat: course entity修改
This commit is contained in:
parent
25a07b9f0e
commit
d3e58cd82f
|
@ -5,13 +5,13 @@ export class Course {
|
||||||
@PrimaryColumn()
|
@PrimaryColumn()
|
||||||
course_id?: string;
|
course_id?: string;
|
||||||
|
|
||||||
@Column({ unique: true })
|
@Column()
|
||||||
course_title?: string;
|
course_title?: string;
|
||||||
|
|
||||||
@Column({ type: 'text' })
|
@Column({ type: 'text' })
|
||||||
course_summary?: string;
|
course_summary?: string;
|
||||||
|
|
||||||
@Column({ length: 1000 })
|
@Column()
|
||||||
course_cover_url?: string;
|
course_cover_url?: string;
|
||||||
|
|
||||||
@Column({ default: 1 })
|
@Column({ default: 1 })
|
||||||
|
|
Loading…
Reference in New Issue
Block a user