Re-add EnsureExists signature to fix compat with old plugins
Fixes #862
This commit is contained in:
parent
0adcf32e3f
commit
04145a4aca
11 changed files with 33 additions and 11 deletions
2
TShockAPI/DB/GroupManager.cs
Normal file → Executable file
2
TShockAPI/DB/GroupManager.cs
Normal file → Executable file
|
|
@ -47,7 +47,7 @@ namespace TShockAPI.DB
|
|||
db.GetSqlType() == SqlType.Sqlite
|
||||
? (IQueryBuilder) new SqliteQueryCreator()
|
||||
: new MysqlQueryCreator());
|
||||
if (creator.EnsureExists(table))
|
||||
if (creator.EnsureTableStructure(table))
|
||||
{
|
||||
// Add default groups if they don't exist
|
||||
AddDefaultGroup("guest", "",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue