From e13e66b161fe2f39584637951b7eea48c25638ae Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Sun, 22 Mar 2020 16:59:01 -0400 Subject: [PATCH] Make default DB SQLite --- .gitignore | 1 + src/Tgstation.Server.Host/appsettings.json | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index fefd0b5b91..504e400b0f 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,7 @@ artifacts/ /tests/DMAPI/travistester.int /tests/DMAPI/travistester.dmb /src/Tgstation.Server.Host/appsettings.Development.json +/src/Tgstation.Server.Host/LocalTestDB.sqlite3 /src/Tgstation.Server.Host/wwwroot /src/Tgstation.Server.Host/ClientApp/node_modules /src/Tgstation.Server.Host/ClientApp/build diff --git a/src/Tgstation.Server.Host/appsettings.json b/src/Tgstation.Server.Host/appsettings.json index 7f9191b101..082bb766fe 100644 --- a/src/Tgstation.Server.Host/appsettings.json +++ b/src/Tgstation.Server.Host/appsettings.json @@ -9,7 +9,7 @@ "UseBasicWatchdogOnWindows": false }, "FileLogging": { - "Directory": null, //use the default path + "Directory": null, "Disable": false, "LogLevel": "Debug", "MicrosoftLogLevel": "Warning" @@ -48,9 +48,9 @@ }, "Database": { "DropDatabase": false, - "DatabaseType": "SqlServer", + "DatabaseType": "Sqlite", "ResetAdminPassword": false, "MySqlServerVersion": null, - "ConnectionString": "Data Source=(local);Initial Catalog=TGS;Integrated Security=True" + "ConnectionString": "Data Source=LocalTestDB.sqlite3;Mode=ReadWriteCreate" } }