Index: trunk/phase3/includes/db/DatabaseSqlite.php |
— | — | @@ -714,6 +714,11 @@ |
715 | 715 | return parent::buildLike( $params ) . "ESCAPE '\' "; |
716 | 716 | } |
717 | 717 | |
| 718 | + public function dropTable( $tableName, $fName = 'DatabaseSqlite::dropTable' ) { |
| 719 | + $sql = 'DROP TABLE IF EXISTS ' . $this->tableName( $tableName ); |
| 720 | + return $this->query( $sql, $fName ); |
| 721 | + } |
| 722 | + |
718 | 723 | /** |
719 | 724 | * @return string |
720 | 725 | */ |