Refactor changes didn't save
This commit is contained in:
parent
4bab43466c
commit
9d4e2d6d9b
3 changed files with 8 additions and 8 deletions
|
|
@ -5,12 +5,12 @@ using System.Text;
|
|||
|
||||
namespace TShockAPI.DB
|
||||
{
|
||||
public interface IQuery
|
||||
public interface IQueryCreator
|
||||
{
|
||||
string CreateTable(SqlTable table);
|
||||
}
|
||||
|
||||
public class SqliteQuery : IQuery
|
||||
public class SqliteQueryCreator : IQueryCreator
|
||||
{
|
||||
public string CreateTable(SqlTable table)
|
||||
{
|
||||
|
|
@ -18,7 +18,7 @@ namespace TShockAPI.DB
|
|||
return "CREATE TABLE '{0}' ({1})".SFormat(table.Name, string.Join(", ", columns));
|
||||
}
|
||||
}
|
||||
public class MysqlQuery : IQuery
|
||||
public class MysqlQueryCreator : IQueryCreator
|
||||
{
|
||||
public string CreateTable(SqlTable table)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue