- Add this code to db/schema.prisma:
model Project {
id Int @default(autoincrement()) @id
name String
}
- DB migrate
blitz db migrate
- Start the dev server
blitz start
Open http://localhost:3000 with your browser to see the result.
model Project {
id Int @default(autoincrement()) @id
name String
}
blitz db migrate
blitz start
Open http://localhost:3000 with your browser to see the result.