You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please provide us with details by completing the following requirements. Issues with not enough info are likely to be closed without resolution.
Environment:
Laravel-Code-Generator Version: 2.4
Laravel Version: 6.2
Description:
Fields on resource file generated from database table are ordered alphabetically. On previous version the fields were ordered as on the database table, as it should.
Update:
Verified that this issue only happens when the command:
is run again to overwrite a previously created resource file, and doesn't matter if --force flag is applied or the previously generated file is removed before.
Steps/Commands To Reproduce:
Content Of The Resource-File:
The text was updated successfully, but these errors were encountered:
Before you submit an issue please read this
This repository is only for reporting bugs or issues. If you need support, please use Stack Overflow using laravel-code-generator tag (https://stackoverflow.com/questions/tagged/laravel-code-generator)
Please provide us with details by completing the following requirements. Issues with not enough info are likely to be closed without resolution.
Environment:
Description:
Fields on resource file generated from database table are ordered alphabetically. On previous version the fields were ordered as on the database table, as it should.
Update:
Verified that this issue only happens when the command:
php artisan resource-file:from-database ModelName --translation-for=en,es
is run again to overwrite a previously created resource file, and doesn't matter if --force flag is applied or the previously generated file is removed before.
Steps/Commands To Reproduce:
Content Of The Resource-File:
The text was updated successfully, but these errors were encountered: