What models does an e-commerce schema need?
What does the full schema.prisma look like?
Prisma
Should prices be Decimal or integers?
Why copy the price onto OrderItem?
How do relations, indexes and onDelete rules work?
What should you leave out of the first version?
How do you create an order and decrement stock safely?
Ts
When should you use include and select?
Ts
How do migrations work, migrate dev or migrate deploy?
Bash