1. Add this code to db/schema.prisma:
model Project {
id Int @default(autoincrement()) @id
name String
}
2. Run these commands in your terminal:
$ blitz db migrate
$ blitz generate all project
3. Go to /projects
1. Add this code to db/schema.prisma:
model Project {
id Int @default(autoincrement()) @id
name String
}
2. Run these commands in your terminal:
$ blitz db migrate
$ blitz generate all project
3. Go to /projects