Use MySQL database server in Server to store uploaded reports (version 2).

This commit is contained in:
2018-12-20 21:04:08 +00:00
parent c964cf27b3
commit 13ce58cac0
15 changed files with 1263 additions and 150 deletions

View File

@@ -0,0 +1,21 @@
using System.Data.Entity.Migrations;
using DiscImageChef.Server.Models;
namespace DiscImageChef.Server.Migrations
{
sealed class Configuration : DbMigrationsConfiguration<DicServerContext>
{
public Configuration()
{
AutomaticMigrationsEnabled = true;
}
protected override void Seed(DicServerContext context)
{
// This method will be called after migrating to the latest version.
// You can use the DbSet<T>.AddOrUpdate() helper extension method
// to avoid creating duplicate seed data.
}
}
}