Added postgres support (#556)

This commit is contained in:
DamianX
2020-01-24 17:25:01 +01:00
committed by Pieter-Jan Briers
parent f95c5b7921
commit 514d05b237
19 changed files with 566 additions and 43 deletions

View File

@@ -1,6 +1,7 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Content.Server.Database;
using Content.Server.Preferences;
using Content.Shared;
using Content.Shared.Preferences;
@@ -39,7 +40,7 @@ namespace Content.Tests.Server.Preferences
private static PreferencesDatabase GetDb()
{
return new PreferencesDatabase(Path.GetTempFileName(), MaxCharacterSlots);
return new PreferencesDatabase(new SqliteConfiguration(Path.GetTempFileName()), MaxCharacterSlots);
}
[Test]