Adds DBTools.cs (Create and Insert Table)
This commit is contained in:
parent
894e796f73
commit
bc2bfd5485
4 changed files with 209 additions and 8 deletions
|
|
@ -155,6 +155,7 @@ namespace TShockAPI
|
|||
throw new Exception("Invalid storage type");
|
||||
}
|
||||
|
||||
DBTools.database = DB;
|
||||
Backups = new BackupManager(Path.Combine(SavePath, "backups"));
|
||||
Backups.KeepFor = Config.BackupKeepFor;
|
||||
Backups.Interval = Config.BackupInterval;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue