Open brausepulver opened 6 months ago
Oh good catch sorry for the inconvenience, and thanks for filing the issue 👍
Theoretically the array should be added below any traits or the line with class YourModel extends Model ....
.
Can you show me the beginning of your model file? With the same formatting etc?
Running the command on a model with geometry columns in the database but no $postgisColumns inserts code at the top of the file outside of the class:
This only happens when $postgisColumns is not present on the model. When $postgisColumns is present the column definitions are inserted correctly.
In other cases the command prompts to change code that is the exact same as the proposed code.