OrderBy... Bye bye. DBTool fixes

This commit is contained in:
Twitchy 2011-07-29 12:21:28 +12:00
parent 8f28bd2b7d
commit 917865cab5
3 changed files with 17 additions and 20 deletions

View file

@ -52,7 +52,7 @@ namespace TShockAPI
}
if (column.Unique)
sb.Append("UNIQUE ");
sb.Append("UNIQUE");
if (columns.Count == count)
sb.Append(")");
@ -60,10 +60,7 @@ namespace TShockAPI
sb.Append(", ");
}
using (var com = database.CreateCommand())
{
com.CommandText = sb.ToString();
}
database.Query(sb.ToString());
}
/// <summary>