Skip to content

Soft Delete #90

Closed
Closed
@brunocascio

Description

@brunocascio

SoftDelete is implemented?

I have:

Schema::create('comments', function($t)
        {
            $t->softDeletes();
        });
class Comment extends Moloquent {

    protected $collection = 'comments';

    public $timestamps = true;

    protected $softDelete = true;

But, running migrate, get this error:

PHP Fatal error:  Call to undefined method Jenssegers\Mongodb\Schema\Blueprint::nullable() in /home/demon/mydiary/vendor/laravel/framework/src/Illuminate/Database/Schema/Blueprint.php on line 635

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