public function up()
    {
        $file = dirname($this->getIdentifier()->filepath).'/'.$this->getVersion().'.sql';
        if (file_exists($file)) {
            dbexecfile($file);
        }
    }
public function up()
    {
        $file = dirname($this->getIdentifier()->filepath).'/'.$this->getVersion().'.sql';
        if (file_exists($file)) {
            dbexecfile($file);
        }
    }
public function up ( ) { $ file = dirname ( $ this -> getIdentifier ( ) -> filepath ) . '/' . $ this -> getVersion ( ) . '.sql' ; if ( file_exists ( $ file ) ) { dbexecfile ( $ file ) ; } }
Called when we need to migrate up. By default it tries to run version.sql file.
Called when we need to migrate up . By default it tries to run version . sql file .