private function setMigrationFileAsCompleted($filename)
    {
        $migration = new MigrationEntity();
        $migration->setFilename(sql_prepare($filename));
        @$migration->save();

        return $this;
    }
private function setMigrationFileAsCompleted($filename)
    {
        $migration = new MigrationEntity();
        $migration->setFilename(sql_prepare($filename));
        @$migration->save();

        return $this;
    }
private function setMigrationFileAsCompleted ( $ filename ) { $ migration = new MigrationEntity ( ) ; $ migration -> setFilename ( sql_prepare ( $ filename ) ) ; @ $ migration -> save ( ) ; return $ this ; }
Set migration .sql file as already finished
@param string $filename
@return $this
Set migration . sql file as already finished