Append Crud

 

Append one or many fields on an existing model. The –field option is optional, in case it is not provided you will have to choose them interactively if new fields have been defined in the configuration file.

php artisan administrable:append:crud {model}

Par défaut la commande php artisan migrate sera exécutée et peut etre change avec l’option -m ou –migrate

php artisan administrable:append:crud {model} -m false # --migrate false

The model must have been defined in administrable.yaml file.

The fields must be defined in the same way as that of the administrable:make:crud command in the administrable.yaml file