src/db/Migration.php
public function dropView ($name)
		{
			echo "    > drop view $name ...";
			$time = microtime(true);
			$this->db->createCommand('DROP VIEW IF EXISTS ' . $this->db->quoteTableName($name))->execute();
			echo '    > done (time: ' . sprintf('%.3f', microtime(true) - $time) . "s)\n";
		}
public function dropView ($name)
		{
			echo "    > drop view $name ...";
			$time = microtime(true);
			$this->db->createCommand('DROP VIEW IF EXISTS ' . $this->db->quoteTableName($name))->execute();
			echo '    > done (time: ' . sprintf('%.3f', microtime(true) - $time) . "s)\n";
		}
public function dropView ( $ name ) { echo "    > drop view $name ..." ; $ time = microtime ( true ) ; $ this -> db -> createCommand ( 'DROP VIEW IF EXISTS ' . $ this -> db -> quoteTableName ( $ name ) ) -> execute ( ) ; echo '    > done (time: ' . sprintf ( '%.3f' , microtime ( true ) - $ time ) . "s)\n" ; }
Drops view by name.

@param string $name

@see createView
Drops view by name .