public function destroyTable($name, array $fields, $id)
    {
        $this->modelBuilder->destroy($name);
        $this->formBuilder->destroy($name);

        $migration = $this->migrationBuilder
            ->getMigrationClassPathByKey($name);

        $this->migrateDown($migration);

        $this->migrationBuilder->destroySourceTableMigration($name, $fields);
    }
public function destroyTable($name, array $fields, $id)
    {
        $this->modelBuilder->destroy($name);
        $this->formBuilder->destroy($name);

        $migration = $this->migrationBuilder
            ->getMigrationClassPathByKey($name);

        $this->migrateDown($migration);

        $this->migrationBuilder->destroySourceTableMigration($name, $fields);
    }
public function destroyTable ( $ name , array $ fields , $ id ) { $ this -> modelBuilder -> destroy ( $ name ) ; $ this -> formBuilder -> destroy ( $ name ) ; $ migration = $ this -> migrationBuilder -> getMigrationClassPathByKey ( $ name ) ; $ this -> migrateDown ( $ migration ) ; $ this -> migrationBuilder -> destroySourceTableMigration ( $ name , $ fields ) ; }
Destroys a source table and all associated entities

@param string $name
@param array $fields
@param int $id
Destroys a source table and all associated entities