Skip to content

Commit

Permalink
feat: video lesson
Browse files Browse the repository at this point in the history
  • Loading branch information
typeWolffo committed Dec 27, 2024
1 parent 6d6538d commit 850adae
Show file tree
Hide file tree
Showing 7 changed files with 2,000 additions and 39 deletions.
4 changes: 2 additions & 2 deletions apps/api/src/seed/seed-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ export async function createNiceCourses(
lessonData.type === LESSON_TYPES.PRESENTATION
? "pptx"
: lessonData.type === LESSON_TYPES.VIDEO
? "mp4"
: null,
? "mp4"
: null,
chapterId: chapter.id,
createdAt: createdAt,
updatedAt: createdAt,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE "lessons" ALTER COLUMN "description" SET DATA TYPE varchar(3000);
Loading

0 comments on commit 850adae

Please sign in to comment.