Closed thefrontendguy closed 3 years ago
blitz generate all question text:string throws an error in app/pages/questions/index.tsx at {question.name}
The created question model has no name
model Question { id Int @id @default(autoincrement()) createdAt DateTime @default(now()) updatedAt DateTime @updatedAt text String choices Choice[] }
It should be this blitz generate all question name:string
my bad. the solution was below in the tutorial.
What is the problem?
blitz generate all question text:string throws an error in app/pages/questions/index.tsx at {question.name}
The created question model has no name
It should be this blitz generate all question name:string