Replies: 3 comments
-
Hi @Tofandel you are using the -N flag, which stands for nested, and it needs position management. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I totally hear your observation though, and I think the position question should not be asked when the nested flag is passed to the CLI. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I see thanks, yes I was going to say the same, if the option is ignored with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
When creating a module or a capsule using the cli utils, we are asked if we want to use the position feature, even when we say no, the Repository file contains
$this->enableReorder();
and the migration file contains$table->int('position')
, the model containshasPosition
Steps to reproduce
Run
php artisan twill:make:module -B -S -M -F -R -N Seminar
Select
no
for every questionsLook at the generated files
Expected result
No position related code
Actual result
The position feature is completely enabled
Versions
Twill version: 3.0.2
Beta Was this translation helpful? Give feedback.
All reactions