Make foal generate script
generate a script with a default Mongoose connection in MongoDB projects
#362
Labels
foal generate script
generate a script with a default Mongoose connection in MongoDB projects
#362
Issue
Currently, when we generate a MongoDB project with
foal createapp <name> --mongodb
and then runfoal generate script <name>
, the CLI generates a script with a default TypeORM connection.Solution
Detect that the project is a Mongoose project and generate this file:
The text was updated successfully, but these errors were encountered: