MCPcopy Create free account
hub / github.com/code100x/cms / seedCourseContent

Function seedCourseContent

prisma/seed.ts:153–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

151}
152
153async function seedCourseContent() {
154 try {
155 await db.courseContent.create({
156 data: {
157 courseId: 1,
158 contentId: 1,
159 },
160 });
161 } catch (error) {
162 console.error('Error seeding course content:', error);
163 throw error;
164 }
165}
166
167async function seedNotionMetadata() {
168 try {

Callers 1

seedDatabaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected