migration/Version20150212110141.php
public function down()
    {
        $def = $this->table('#__bpmn_process_definition');
        $def->removeColumn('resource_id');
        $def->update();
        
        $subscription = $this->table('#__bpmn_event_subscription');
        $subscription->removeColumn('job_id');
        $subscription->removeColumn('boundary');
        $subscription->update();
        
        $this->dropTable('#__bpmn_job');
    }
public function down()
    {
        $def = $this->table('#__bpmn_process_definition');
        $def->removeColumn('resource_id');
        $def->update();
        
        $subscription = $this->table('#__bpmn_event_subscription');
        $subscription->removeColumn('job_id');
        $subscription->removeColumn('boundary');
        $subscription->update();
        
        $this->dropTable('#__bpmn_job');
    }
public function down ( ) { $ def = $ this -> table ( '#__bpmn_process_definition' ) ; $ def -> removeColumn ( 'resource_id' ) ; $ def -> update ( ) ; $ subscription = $ this -> table ( '#__bpmn_event_subscription' ) ; $ subscription -> removeColumn ( 'job_id' ) ; $ subscription -> removeColumn ( 'boundary' ) ; $ subscription -> update ( ) ; $ this -> dropTable ( '#__bpmn_job' ) ; }
Migrate down.
Migrate down .