src/Classes/Module.php
public function updateVersion()
    {
        \DB::table('modules')->where([
            ['name', '=', $this->name],
            ['author', '=', $this->author],
        ])->update(['version' => $this->version]);

    }
public function updateVersion()
    {
        \DB::table('modules')->where([
            ['name', '=', $this->name],
            ['author', '=', $this->author],
        ])->update(['version' => $this->version]);

    }
public function updateVersion ( ) { \ DB :: table ( 'modules' ) -> where ( [ [ 'name' , '=' , $ this -> name ] , [ 'author' , '=' , $ this -> author ] , ] ) -> update ( [ 'version' => $ this -> version ] ) ; }
Update database version
Update database version