Generate Prisma schema dynamically using json file.
npm install @techsavvyash/dynamo-prisma
For information on schema you should follow, visit: JSON Schema
- What should be the expected behaviour in case the target database is not empty and already contains some tables/migrations applied to it (tracked via the migrations table created by prisma) but those migrations are not present in the migrations folder.
Options: Do we do a
prisma db pull
?? But this overwrites theschema.prisma