mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Store and use undecoded buffers for ATA IDENTIFY (PACKET) DEVICE, SCSI INQUIRY and SCSI MODE PAGE 2Ah in device reports in database.
This commit is contained in:
@@ -287,17 +287,13 @@ namespace DiscImageChef.Database.Migrations
|
||||
{
|
||||
Id = table.Column<int>(nullable: false)
|
||||
.Annotation("Sqlite:Autoincrement", true),
|
||||
ModeSense2AId = table.Column<int>(nullable: true),
|
||||
FeaturesId = table.Column<int>(nullable: true)
|
||||
FeaturesId = table.Column<int>(nullable: true)
|
||||
}, constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_Mmc", x => x.Id);
|
||||
table.ForeignKey("FK_Mmc_MmcFeatures_FeaturesId", x => x.FeaturesId,
|
||||
"MmcFeatures", "Id",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey("FK_Mmc_ModePage_2A_ModeSense2AId", x => x.ModeSense2AId,
|
||||
"ModePage_2A", "Id",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable("BlockDescriptor",
|
||||
@@ -626,8 +622,6 @@ namespace DiscImageChef.Database.Migrations
|
||||
|
||||
migrationBuilder.CreateIndex("IX_Mmc_FeaturesId", "Mmc", "FeaturesId");
|
||||
|
||||
migrationBuilder.CreateIndex("IX_Mmc_ModeSense2AId", "Mmc", "ModeSense2AId");
|
||||
|
||||
migrationBuilder.CreateIndex("IX_Reports_ATAId", "Reports", "ATAId");
|
||||
|
||||
migrationBuilder.CreateIndex("IX_Reports_ATAPIId", "Reports", "ATAPIId");
|
||||
|
||||
Reference in New Issue
Block a user