tgstation-server  4.4.0
The /tg/station 13 server suite
DatabaseConfiguration.cs
Go to the documentation of this file.
1 using Newtonsoft.Json;
2 using Newtonsoft.Json.Converters;
3 
4 namespace Tgstation.Server.Host.Configuration
5 {
9  public sealed class DatabaseConfiguration
10  {
14  public const string Section = "Database";
15 
19  [JsonConverter(typeof(StringEnumConverter))]
20  public DatabaseType DatabaseType { get; set; }
21 
25  public bool ResetAdminPassword { get; set; }
26 
30  public string ConnectionString { get; set; }
31 
35  public bool DropDatabase { get; set; }
36 
40  public bool DesignTime { get; set; }
41 
45  public string ServerVersion { get; set; }
46  }
47 }
Configuration options for the Database.DatabaseContext
DatabaseType
Type of database to user
Definition: DatabaseType.cs:6