Add MariaDB support (#156)
* Fixed startup db check * Relation tables are created automatically for IGDB metadata * Removed JSON dependency from filters * Removed JSON searches from Game library queries * Gaseous now runs without error on MariaDB * Fixed static database name bug * Updated docker files and README
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using Google.Protobuf.WellKnownTypes;
|
||||
using Newtonsoft.Json;
|
||||
using IGDB.Models;
|
||||
|
||||
@@ -313,6 +312,16 @@ namespace gaseous_tools
|
||||
return dbConnString;
|
||||
}
|
||||
}
|
||||
|
||||
[JsonIgnore]
|
||||
public string ConnectionStringNoDatabase
|
||||
{
|
||||
get
|
||||
{
|
||||
string dbConnString = "server=" + HostName + ";port=" + Port + ";userid=" + UserName + ";password=" + Password + ";";
|
||||
return dbConnString;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class Library
|
||||
|
Reference in New Issue
Block a user