next-learn icon indicating copy to clipboard operation
next-learn copied to clipboard

Clarify app/seed/route.ts instructions for successful database seeding

Open uxfed opened this issue 1 year ago • 0 comments

Suggest modifying /app/seed/route.ts line 107 for clarity. Currently reads:

" 'Uncomment this file and remove this line. You can delete this file when you are finished.',"

Should probably read:

" 'Uncomment this file and remove this entire return statement (from "return" to the semicolon before the try statement). You can delete this file when you are finished.',"

Reason: Just deleting line 107, "this line" in the instruction, will fail to seed the database.

uxfed avatar Oct 05 '24 01:10 uxfed