Skip to content

Commit

Permalink
chore: remove old migration scripts (#412)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefl authored Nov 28, 2024
1 parent 44b5961 commit 628f9b1
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 304 deletions.
4 changes: 0 additions & 4 deletions packages/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import { generateAllLessonPlans } from "./src/functions/lessonPlan/generateAll";
import { processLessonPlan } from "./src/functions/lessonPlan/process";
import { embedLessonSummary } from "./src/functions/lessonSummary/embed";
import { embedAllLessonSummaries } from "./src/functions/lessonSummary/embedAll";
import { addIdsToMessages } from "./src/functions/migrations/addIdsToMessages";
import { kvChatsToPrisma } from "./src/functions/migrations/kvChatsToPrisma";
import { embedAllQuizAnswers } from "./src/functions/quizAnswer/embedAll";
import { generateQuizAnswerEmbeddings } from "./src/functions/quizAnswer/generateQuizAnswerEmbeddings";
import { embedAllQuizQuestions } from "./src/functions/quizQuestion/embedAll";
Expand Down Expand Up @@ -63,8 +61,6 @@ export const functions = [
processLessonPlan,
generatePlanForLesson,
generateAllLessonPlans,
kvChatsToPrisma,
addIdsToMessages,
notifyModeration,
notifyRateLimit,
notifyUserBan,
Expand Down
4 changes: 0 additions & 4 deletions packages/core/src/functions/event-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ import { generateAllLessonPlansSchema } from "./lessonPlan/generateAll.schema";
import { processLessonPlanSchema } from "./lessonPlan/process.schema";
import { embedLessonSummarySchema } from "./lessonSummary/embed.schema";
import { embedAllLessonSummariesSchema } from "./lessonSummary/embedAll.schema";
import { addIdsToMessagesSchema } from "./migrations/addIdsToMessages.schema";
import { kvChatsToPrismaSchema } from "./migrations/kvChatsToPrisma.schema";
import { embedAllQuizAnswersSchema } from "./quizAnswer/embedAll.schema";
import { embedQuizAnswerSchema } from "./quizAnswer/generateQuizAnswerEmbeddings.schema";
import { embedAllQuizQuestionsSchema } from "./quizQuestion/embedAll.schema";
Expand Down Expand Up @@ -63,8 +61,6 @@ const schemas = {
"app/lessonPlan.embedPart": embedLessonPlanPartSchema,
"app/snippet.embedAll": embedAllSnippetsSchema,
"app/snippet.generateForAllQuestions": generateSnippetsForAllQuestionsSchema,
"app/migrations.kvChatsToPrisma": kvChatsToPrismaSchema,
"app/migrations.addIdsToMessages": addIdsToMessagesSchema,
"app/slack.notifyRateLimit": notifyRateLimitSchema,
"app/slack.notifyModeration": notifyModerationSchema,
"app/slack.notifyUserBan": notifyUserBanSchema,
Expand Down

This file was deleted.

129 changes: 0 additions & 129 deletions packages/core/src/functions/migrations/addIdsToMessages.ts

This file was deleted.

This file was deleted.

153 changes: 0 additions & 153 deletions packages/core/src/functions/migrations/kvChatsToPrisma.ts

This file was deleted.

0 comments on commit 628f9b1

Please sign in to comment.