system/Database/Forge.php
protected function _dropTable(string $table, bool $if_exists, bool $cascade): string
	{
		$sql = 'DROP TABLE';

		if ($if_exists)
		{
			if ($this->dropTableIfStr === false)
			{
				if (! $this->db->tableExists($table))
				{
					return true;
				}
			}
			else
			{
				$sql = sprintf($this->dropTableIfStr, $this->db->escapeIdentifiers($table));
			}
		}

		$sql = $sql . ' ' . $this->db->escapeIdentifiers($table);

		return $sql;
	}
protected function _dropTable(string $table, bool $if_exists, bool $cascade): string
	{
		$sql = 'DROP TABLE';

		if ($if_exists)
		{
			if ($this->dropTableIfStr === false)
			{
				if (! $this->db->tableExists($table))
				{
					return true;
				}
			}
			else
			{
				$sql = sprintf($this->dropTableIfStr, $this->db->escapeIdentifiers($table));
			}
		}

		$sql = $sql . ' ' . $this->db->escapeIdentifiers($table);

		return $sql;
	}
Drop Table

Generates a platform-specific DROP TABLE string

@param string  $table     Table name
@param boolean $if_exists Whether to add an IF EXISTS condition
@param boolean $cascade   Whether to add an CASCADE condition

@return string