mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Move device statistics to database.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user