Move device statistics to database.

This commit is contained in:
2018-12-21 03:55:56 +00:00
parent c6684c43cc
commit f376286e8a
8 changed files with 1441 additions and 32 deletions

View File

@@ -890,6 +890,25 @@ namespace DiscImageChef.Database.Migrations
b.ToTable("Devices");
});
modelBuilder.Entity("DiscImageChef.Database.Models.DeviceStat", b =>
{
b.Property<int>("Id").ValueGeneratedOnAdd();
b.Property<string>("Bus");
b.Property<string>("Manufacturer");
b.Property<string>("Model");
b.Property<string>("Revision");
b.Property<bool>("Synchronized");
b.HasKey("Id");
b.ToTable("SeenDevices");
});
modelBuilder.Entity("DiscImageChef.Database.Models.Filesystem", b =>
{
b.Property<int>("Id").ValueGeneratedOnAdd();