src/Providers/BlueprintMacros.php
/**
     * Add a tenant directive to Blueprint.
     *
     * @return void
     */
Add a tenant directive to Blueprint.
@return void
Add a tenant directive to Blueprint . @return void
public function tenant()
    {
        Blueprint::macro(
            'tenant', function () {
                return $this->integer(config('tenant.foreign_key'))->unsigned()->index();
            }
        );
    }
public function tenant ( ) { Blueprint :: macro ( 'tenant' , function ( ) { return $ this -> integer ( config ( 'tenant.foreign_key' ) ) -> unsigned ( ) -> index ( ) ; } ) ; }
Add a tenant directive to Blueprint.
Add a tenant directive to Blueprint .