Amends CreateTable, so if 'overwrite' is enabled, the table is dropped, then recreated.

This commit is contained in:
leekelleher
2014-08-19 18:56:15 +01:00
parent c4e4f9579b
commit 1978930fa2

View File

@@ -221,6 +221,7 @@ namespace Umbraco.Core.Persistence
if (overwrite && tableExist)
{
db.DropTable(tableName);
tableExist = false;
}
if (tableExist == false)