mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Add schemas for database version 2.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user