public function setDone() {
        $migration = $this->getMigration();
        if ($migration['state']) {
            return true; //alredy done
        }
        $this->db()->update($this->table, array('state' => true), array('id' => $migration['id']));
    }
public function setDone() {
        $migration = $this->getMigration();
        if ($migration['state']) {
            return true; //alredy done
        }
        $this->db()->update($this->table, array('state' => true), array('id' => $migration['id']));
    }
public function setDone ( ) { $ migration = $ this -> getMigration ( ) ; if ( $ migration [ 'state' ] ) { return true ; //alredy done } $ this -> db ( ) -> update ( $ this -> table , array ( 'state' => true ) , array ( 'id' => $ migration [ 'id' ] ) ) ; }
Sets that the migration was done.

@return bool
Sets that the migration was done .