drogonframework / drogonframework/drogon

Cannot create model. controller not created in controllers folder

Open
#2,345 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
14.3k
Forks
1.4k
Avg merge
1d 13h
Merged PRs (30d)
14

Description

I am in Mac M1 and have installed drogon (Version: 1.9.11)

I run this command to create a model:

```
drogon_ctl create model Product
```

I get this error:

```
Create model
No such file or directory : Product
```

Also, the command `drogon_ctl create controller HomeController` does not create controller in `controllers` folder.

Is this an issue or any other way to create models and controllers in respective folders?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.