wasp db reset showing help instructions
I am trying to setup a seed function and thus wanted to reset my db.
According to the docs: https://wasp-lang.dev/docs/data-model/backends#running-seed-functions I am supposed to run
Sadly this only triggers the
Is this a bug or am I being stupid?
I also tested it with a new wasp app. Just set the
PS: The code example has some minor issues in the
According to the docs: https://wasp-lang.dev/docs/data-model/backends#running-seed-functions I am supposed to run
wasp db reset.Sadly this only triggers the
help call:Is this a bug or am I being stupid?
I also tested it with a new wasp app. Just set the
db: System to PostgreSQL and ran wasp db migrate-dev and wasp db reset afterwards. Same outcome.PS: The code example has some minor issues in the
createUser Method:- The variable is named
prismaand notprismaClient - The
passwordparameter of thesanitizeAndSerializeProviderDatamethod is namedhashedPassword
Entities, Operations and Automatic CRUD together make a high-level interface for working with your app's data. Still, all that data has to live somewhere, so let's see how Wasp deals with databases.
