src/MaxfactorServiceProvider.php
private function registerBlueprints()
    {
        Blueprint::macro('active', function ($name = 'active', $default = false) {
            return $this->boolean($name)->default($default);
        });

        Blueprint::macro('featured', function ($name = 'featured', $default = false) {
            return $this->boolean($name)->default($default);
        });

        Blueprint::macro('sortable', function ($name = 'sort_order', $default = false) {
            return $this->integer($name)->default(1);
        });

        Blueprint::macro('meta', function ($name = 'meta_attributes') {
            return $this->json($name)->nullable();
        });

        Blueprint::macro('priority', function ($name = 'priority', $default = 50) {
            return $this->integer($name)->default($default);
        });

        Blueprint::macro('slug', function ($name = 'slug') {
            return $this->string($name)->unique()->index();
        });
    }
private function registerBlueprints()
    {
        Blueprint::macro('active', function ($name = 'active', $default = false) {
            return $this->boolean($name)->default($default);
        });

        Blueprint::macro('featured', function ($name = 'featured', $default = false) {
            return $this->boolean($name)->default($default);
        });

        Blueprint::macro('sortable', function ($name = 'sort_order', $default = false) {
            return $this->integer($name)->default(1);
        });

        Blueprint::macro('meta', function ($name = 'meta_attributes') {
            return $this->json($name)->nullable();
        });

        Blueprint::macro('priority', function ($name = 'priority', $default = 50) {
            return $this->integer($name)->default($default);
        });

        Blueprint::macro('slug', function ($name = 'slug') {
            return $this->string($name)->unique()->index();
        });
    }
private function registerBlueprints ( ) { Blueprint :: macro ( 'active' , function ( $ name = 'active' , $ default = false ) { return $ this -> boolean ( $ name ) -> default ( $ default ) ; } ) ; Blueprint :: macro ( 'featured' , function ( $ name = 'featured' , $ default = false ) { return $ this -> boolean ( $ name ) -> default ( $ default ) ; } ) ; Blueprint :: macro ( 'sortable' , function ( $ name = 'sort_order' , $ default = false ) { return $ this -> integer ( $ name ) -> default ( 1 ) ; } ) ; Blueprint :: macro ( 'meta' , function ( $ name = 'meta_attributes' ) { return $ this -> json ( $ name ) -> nullable ( ) ; } ) ; Blueprint :: macro ( 'priority' , function ( $ name = 'priority' , $ default = 50 ) { return $ this -> integer ( $ name ) -> default ( $ default ) ; } ) ; Blueprint :: macro ( 'slug' , function ( $ name = 'slug' ) { return $ this -> string ( $ name ) -> unique ( ) -> index ( ) ; } ) ; }
Register additional table blueprints for use in database migrations

@return void
Register additional table blueprints for use in database migrations