Move NameValue statistics to database.

This commit is contained in:
2018-12-21 03:17:35 +00:00
parent ccc249261f
commit a7721f943a
15 changed files with 1588 additions and 211 deletions

View File

@@ -824,6 +824,19 @@ namespace DiscImageChef.Database.Migrations
b.ToTable("Usb");
});
modelBuilder.Entity("DiscImageChef.Database.Models.Command", b =>
{
b.Property<int>("Id").ValueGeneratedOnAdd();
b.Property<string>("Name");
b.Property<bool>("Synchronized");
b.HasKey("Id");
b.ToTable("Commands");
});
modelBuilder.Entity("DiscImageChef.Database.Models.Device", b =>
{
b.Property<int>("Id").ValueGeneratedOnAdd();
@@ -877,6 +890,58 @@ namespace DiscImageChef.Database.Migrations
b.ToTable("Devices");
});
modelBuilder.Entity("DiscImageChef.Database.Models.Filesystem", b =>
{
b.Property<int>("Id").ValueGeneratedOnAdd();
b.Property<string>("Name");
b.Property<bool>("Synchronized");
b.HasKey("Id");
b.ToTable("Filesystems");
});
modelBuilder.Entity("DiscImageChef.Database.Models.Filter", b =>
{
b.Property<int>("Id").ValueGeneratedOnAdd();
b.Property<string>("Name");
b.Property<bool>("Synchronized");
b.HasKey("Id");
b.ToTable("Filters");
});
modelBuilder.Entity("DiscImageChef.Database.Models.MediaFormat", b =>
{
b.Property<int>("Id").ValueGeneratedOnAdd();
b.Property<string>("Name");
b.Property<bool>("Synchronized");
b.HasKey("Id");
b.ToTable("MediaFormats");
});
modelBuilder.Entity("DiscImageChef.Database.Models.Partition", b =>
{
b.Property<int>("Id").ValueGeneratedOnAdd();
b.Property<string>("Name");
b.Property<bool>("Synchronized");
b.HasKey("Id");
b.ToTable("Partitions");
});
modelBuilder.Entity("DiscImageChef.Database.Models.Report", b =>
{
b.Property<int>("Id").ValueGeneratedOnAdd();