A successful introspect run currently looks like this:
λ npx prisma2@alpha introspect
Introspecting …
Done with introspection in 1.42s
Wrote schema.prisma
We should probably try to make this a bit nicer.
- The text itself can be a lot more descriptive ("datamodel was added to your
schema.prisma") and for example offer next steps ("Now use prisma2 generate to create a Prisma Client for your database").
- We could also output some statistics about the datamodel that was added: x models, y relations, z indexes (Actually only the "model" part might be reasonably simple, but maybe this is a good place to go a bit overbord and have fun)
A successful
introspectrun currently looks like this:We should probably try to make this a bit nicer.
schema.prisma") and for example offer next steps ("Now useprisma2 generateto create a Prisma Client for your database").