OrderBy... Bye bye. DBTool fixes
This commit is contained in:
parent
8f28bd2b7d
commit
917865cab5
3 changed files with 17 additions and 20 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue