laravel-enso / enso

Laravel Vue SPA, Bulma themed. For demo login use `admin@laravel-enso.com` & `password` -
https://www.laravel-enso.com
MIT License
1.08k stars 277 forks source link

enso:cli - structure migrations data type not generated #326

Closed robbykrlos closed 4 years ago

robbykrlos commented 4 years ago

This is a bug.

While generating a new model, the "structure" file generated inside migrations is missing the data type declarations for $permissions, $menu and $parentMenu

class CreateStructureForConditions extends Migration
{
    protected $permissions = [

Correction:

class CreateStructureForConditions extends Migration
{
    protected array $permissions = [
robbykrlos commented 4 years ago

Ticket wrongly created into the wrong project. Ticket is already fixed by enso/cli adds type for migration #44

sorry