src/orm/classes/Driver/SQL.php
public function dropTable(ORM_Table $table)
    {
        if ($table->isAlias())
        {
            return;
        }
        $db = Eresus_DB::getHandler();
        $tableName = $db->options->tableNamePrefix . $table->getName();

        $sql = $this->getDropTableDefinition($tableName);
        try
        {
            $db->exec($sql);
        }
        catch (PDOException $e)
        {
            throw Eresus_DB_Exception_QueryFailed::create($sql, $e);
        }

        $columns = $table->getColumns();
        foreach ($columns as $name => $column)
        {
            $column->afterTableDrop($table, $name);
        }
    }
public function dropTable(ORM_Table $table)
    {
        if ($table->isAlias())
        {
            return;
        }
        $db = Eresus_DB::getHandler();
        $tableName = $db->options->tableNamePrefix . $table->getName();

        $sql = $this->getDropTableDefinition($tableName);
        try
        {
            $db->exec($sql);
        }
        catch (PDOException $e)
        {
            throw Eresus_DB_Exception_QueryFailed::create($sql, $e);
        }

        $columns = $table->getColumns();
        foreach ($columns as $name => $column)
        {
            $column->afterTableDrop($table, $name);
        }
    }
Удаляет таблицу

@param ORM_Table $table

@return void

@throws Eresus_DB_Exception_QueryFailed

@since 3.00