Move media statistics to database.

This commit is contained in:
2018-12-21 03:34:54 +00:00
parent a7721f943a
commit c6684c43cc
8 changed files with 1406 additions and 40 deletions

View File

@@ -916,6 +916,21 @@ namespace DiscImageChef.Database.Migrations
b.ToTable("Filters");
});
modelBuilder.Entity("DiscImageChef.Database.Models.Media", b =>
{
b.Property<int>("Id").ValueGeneratedOnAdd();
b.Property<bool>("Real");
b.Property<bool>("Synchronized");
b.Property<string>("Type");
b.HasKey("Id");
b.ToTable("Medias");
});
modelBuilder.Entity("DiscImageChef.Database.Models.MediaFormat", b =>
{
b.Property<int>("Id").ValueGeneratedOnAdd();