Skip to content

Problem with running migrations #59

Closed
@tomhalley

Description

@tomhalley

I've noticed a problem that's come about recently (possibly as a result of updating the Laravel framework) where Laravel falls down because it's trying to call method "string()" when creating a migration table in the target database migrations table.

When running the migrations, it throws this error:

PHP Fatal error:  Call to undefined method Jenssegers\Mongodb\Schema
\Blueprint::string() in /home/user/Documents/Projects/Website/vendor/
laravel/framework/src/Illuminate/Database/Migrations/
DatabaseMigrationRepository.php on line 124

So it appears to be trying to call "string()" on the Jenssegers\Mongodb\Schema\Blueprint class (which doesn't currently support string).

Is there a solution for this? I can hardly see it being worth it to implement a string method just for a workaround with the Laravel framework.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions