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);
    }