Skip to content
Browse files

Merge pull request #13 from timheuer/master

DropTable fix
  • Loading branch information...
2 parents 6720e79 + a4852e2 commit 367ab61c547f94678e39e212383eb4bcbb22dbb8 @praeclarum praeclarum committed Mar 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/SQLite.cs
View
2 src/SQLite.cs
@@ -229,7 +229,7 @@ public int DropTable<T>()
{
var map = GetMapping (typeof (T));
- var query = string.Format("drop table \"{0}\"", map.TableName);
+ var query = string.Format("drop table if exists \"{0}\"", map.TableName);
return Execute (query);
}

0 comments on commit 367ab61

Please sign in to comment.
Something went wrong with that request. Please try again.