You can use cargo-generate to generate the template
cargo install cargo-generate
cargo generate --git https://github.com/esthevann/axum-prisma-starter
- Make your changes to the schema on
prisma/schema.prisma
- Generate the client
cargo prisma generate
- Push to the db
cargo prisma db push