protected function dropIndexes()
	{
		if (! is_array($this->keys) || ! count($this->keys))
		{
			return;
		}

		foreach ($this->keys as $name => $key)
		{
			if ($key['type'] === 'primary' || $key['type'] === 'unique')
			{
				continue;
			}

			$this->db->query("DROP INDEX IF EXISTS '{$name}'");
		}
	}
protected function dropIndexes()
	{
		if (! is_array($this->keys) || ! count($this->keys))
		{
			return;
		}

		foreach ($this->keys as $name => $key)
		{
			if ($key['type'] === 'primary' || $key['type'] === 'unique')
			{
				continue;
			}

			$this->db->query("DROP INDEX IF EXISTS '{$name}'");
		}
	}
protected function dropIndexes ( ) { if ( ! is_array ( $ this -> keys ) || ! count ( $ this -> keys ) ) { return ; } foreach ( $ this -> keys as $ name => $ key ) { if ( $ key [ 'type' ] === 'primary' || $ key [ 'type' ] === 'unique' ) { continue ; } $ this -> db -> query ( "DROP INDEX IF EXISTS '{$name}'" ) ; } }
Attempts to drop all indexes and constraints
from the database for this table.

@return null|void
Attempts to drop all indexes and constraints from the database for this table .