summaryrefslogtreecommitdiffstats
path: root/lib/public/idbconnection.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-12-08 14:35:57 +0100
committerRobin Appelman <icewind@owncloud.com>2014-12-09 17:26:53 +0100
commit8af3991d0cf129316b177731686af547fe39a698 (patch)
treead2199f8170ff6091b063eef45d5eefe40f8be30 /lib/public/idbconnection.php
parent26861a98c59c39901b9127831b7edf0c0a3eff40 (diff)
downloadnextcloud-server-8af3991d0cf129316b177731686af547fe39a698.tar.gz
nextcloud-server-8af3991d0cf129316b177731686af547fe39a698.zip
Add dropTable to IDBConnection
Diffstat (limited to 'lib/public/idbconnection.php')
-rw-r--r--lib/public/idbconnection.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/public/idbconnection.php b/lib/public/idbconnection.php
index ce17d293e86..bc563d20b42 100644
--- a/lib/public/idbconnection.php
+++ b/lib/public/idbconnection.php
@@ -158,4 +158,11 @@ interface IDBConnection {
* @return \Doctrine\DBAL\Platforms\AbstractPlatform The database platform.
*/
public function getDatabasePlatform();
+
+ /**
+ * Drop a table from the database if it exists
+ *
+ * @param string $table
+ */
+ public function dropTable($table);
}