Add schemas for database version 2.

This commit is contained in:
2018-04-12 06:43:45 +01:00
parent b4372a802f
commit 8e999c1b2f
23 changed files with 457 additions and 4 deletions

View File

@@ -29,7 +29,6 @@
*******************************************************************************/
using System;
using cicm_web.Database;
using DiscImageChef.Interop;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
@@ -39,7 +38,7 @@ namespace cicm_web
{
public static class Program
{
static cicm_web.Database.Mysql database;
static Cicm.Database.Mysql database;
public static void Main(string[] args)
{
@@ -107,7 +106,7 @@ namespace cicm_web
DetectOS.IsMono ? Version.GetMonoVersion() : Version.GetNetCoreVersion());
Console.WriteLine("\u001b[31;1mConnecting to MySQL database...\u001b[0m");
database = new Mysql("localhost", "cicm", "cicm", 3306, "cicmpass");
database = new Cicm.Database.Mysql("localhost", "cicm", "cicm", 3306, "cicmpass");
Console.WriteLine("\u001b[31;1mStarting web server...\u001b[0m");
BuildWebHost(args).Run();