mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Workaround unsigned fields in database unsupported by EntityFramework 6.
This commit is contained in:
@@ -35,8 +35,12 @@ namespace DiscImageChef.Database.Migrations
|
||||
|
||||
b.Property<uint?>("BlockLength");
|
||||
|
||||
b.Property<int?>("BlockLengthSql");
|
||||
|
||||
b.Property<ulong?>("Blocks");
|
||||
|
||||
b.Property<long?>("BlocksSql");
|
||||
|
||||
b.Property<byte>("Density");
|
||||
|
||||
b.Property<int?>("ScsiModeId");
|
||||
@@ -54,10 +58,16 @@ namespace DiscImageChef.Database.Migrations
|
||||
|
||||
b.Property<ushort>("Cylinders");
|
||||
|
||||
b.Property<short>("CylindersSql");
|
||||
|
||||
b.Property<ushort>("Heads");
|
||||
|
||||
b.Property<short>("HeadsSql");
|
||||
|
||||
b.Property<ushort>("Sectors");
|
||||
|
||||
b.Property<short>("SectorsSql");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("Chs");
|
||||
@@ -86,10 +96,14 @@ namespace DiscImageChef.Database.Migrations
|
||||
|
||||
b.Property<uint>("ProductID");
|
||||
|
||||
b.Property<int>("ProductIDSql");
|
||||
|
||||
b.Property<bool>("RemovableMedia");
|
||||
|
||||
b.Property<uint>("VendorID");
|
||||
|
||||
b.Property<int>("VendorIDSql");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("FireWire");
|
||||
@@ -124,6 +138,8 @@ namespace DiscImageChef.Database.Migrations
|
||||
|
||||
b.Property<ushort?>("BlocksPerReadableUnit");
|
||||
|
||||
b.Property<short?>("BlocksPerReadableUnitSql");
|
||||
|
||||
b.Property<bool>("BufferUnderrunFreeInDVD");
|
||||
|
||||
b.Property<bool>("BufferUnderrunFreeInSAO");
|
||||
@@ -320,12 +336,14 @@ namespace DiscImageChef.Database.Migrations
|
||||
|
||||
b.Property<uint?>("LogicalBlockSize");
|
||||
|
||||
b.Property<int?>("LogicalBlockSizeSql");
|
||||
|
||||
b.Property<bool>("MultiRead");
|
||||
|
||||
b.Property<uint?>("PhysicalInterfaceStandard");
|
||||
|
||||
b.Property<uint?>("PhysicalInterfaceStandardNumber");
|
||||
|
||||
b.Property<int?>("PhysicalInterfaceStandardNumberSql");
|
||||
|
||||
b.Property<bool>("PreventJumper");
|
||||
|
||||
b.Property<bool>("SupportsAACS");
|
||||
@@ -364,6 +382,8 @@ namespace DiscImageChef.Database.Migrations
|
||||
|
||||
b.Property<ushort?>("VolumeLevels");
|
||||
|
||||
b.Property<short?>("VolumeLevelsSql");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("MmcFeatures");
|
||||
@@ -396,12 +416,16 @@ namespace DiscImageChef.Database.Migrations
|
||||
|
||||
b.Property<ushort?>("CardCode");
|
||||
|
||||
b.Property<short?>("CardCodeSql");
|
||||
|
||||
b.Property<string>("Compliance");
|
||||
|
||||
b.Property<string>("Manufacturer");
|
||||
|
||||
b.Property<ushort?>("ManufacturerCode");
|
||||
|
||||
b.Property<short?>("ManufacturerCodeSql");
|
||||
|
||||
b.Property<string>("ProductName");
|
||||
|
||||
b.HasKey("Id");
|
||||
@@ -498,8 +522,12 @@ namespace DiscImageChef.Database.Migrations
|
||||
|
||||
b.Property<uint?>("MaxBlockLength");
|
||||
|
||||
b.Property<int?>("MaxBlockLengthSql");
|
||||
|
||||
b.Property<uint?>("MinBlockLength");
|
||||
|
||||
b.Property<int?>("MinBlockLengthSql");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("Ssc");
|
||||
@@ -513,6 +541,8 @@ namespace DiscImageChef.Database.Migrations
|
||||
|
||||
b.Property<ushort>("Length");
|
||||
|
||||
b.Property<short>("LengthSql");
|
||||
|
||||
b.Property<byte>("MediumType");
|
||||
|
||||
b.Property<string>("Name");
|
||||
@@ -525,6 +555,8 @@ namespace DiscImageChef.Database.Migrations
|
||||
|
||||
b.Property<ushort>("Width");
|
||||
|
||||
b.Property<short>("WidthSql");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("SscId");
|
||||
@@ -540,8 +572,12 @@ namespace DiscImageChef.Database.Migrations
|
||||
|
||||
b.Property<uint>("BitsPerMm");
|
||||
|
||||
b.Property<int>("BitsPerMmSql");
|
||||
|
||||
b.Property<uint>("Capacity");
|
||||
|
||||
b.Property<int>("CapacitySql");
|
||||
|
||||
b.Property<bool>("DefaultDensity");
|
||||
|
||||
b.Property<string>("Description");
|
||||
@@ -562,8 +598,12 @@ namespace DiscImageChef.Database.Migrations
|
||||
|
||||
b.Property<ushort>("Tracks");
|
||||
|
||||
b.Property<short>("TracksSql");
|
||||
|
||||
b.Property<ushort>("Width");
|
||||
|
||||
b.Property<short>("WidthSql");
|
||||
|
||||
b.Property<bool>("Writable");
|
||||
|
||||
b.HasKey("Id");
|
||||
@@ -583,8 +623,12 @@ namespace DiscImageChef.Database.Migrations
|
||||
|
||||
b.Property<uint?>("BlockSize");
|
||||
|
||||
b.Property<int?>("BlockSizeSql");
|
||||
|
||||
b.Property<ulong?>("Blocks");
|
||||
|
||||
b.Property<long?>("BlocksSql");
|
||||
|
||||
b.Property<int?>("CHSId");
|
||||
|
||||
b.Property<bool?>("CanReadAACS");
|
||||
@@ -657,12 +701,20 @@ namespace DiscImageChef.Database.Migrations
|
||||
|
||||
b.Property<ulong?>("LBA48Sectors");
|
||||
|
||||
b.Property<long?>("LBA48SectorsSql");
|
||||
|
||||
b.Property<uint?>("LBASectors");
|
||||
|
||||
b.Property<int?>("LBASectorsSql");
|
||||
|
||||
b.Property<ushort?>("LogicalAlignment");
|
||||
|
||||
b.Property<short?>("LogicalAlignmentSql");
|
||||
|
||||
b.Property<uint?>("LongBlockSize");
|
||||
|
||||
b.Property<int?>("LongBlockSizeSql");
|
||||
|
||||
b.Property<string>("Manufacturer");
|
||||
|
||||
b.Property<bool>("MediaIsRecognized");
|
||||
@@ -681,8 +733,12 @@ namespace DiscImageChef.Database.Migrations
|
||||
|
||||
b.Property<ushort?>("NominalRotationRate");
|
||||
|
||||
b.Property<short?>("NominalRotationRateSql");
|
||||
|
||||
b.Property<uint?>("PhysicalBlockSize");
|
||||
|
||||
b.Property<int?>("PhysicalBlockSizeSql");
|
||||
|
||||
b.Property<int?>("ScsiId");
|
||||
|
||||
b.Property<bool?>("SolidStateDevice");
|
||||
@@ -755,8 +811,12 @@ namespace DiscImageChef.Database.Migrations
|
||||
|
||||
b.Property<ushort?>("UnformattedBPS");
|
||||
|
||||
b.Property<short?>("UnformattedBPSSql");
|
||||
|
||||
b.Property<ushort?>("UnformattedBPT");
|
||||
|
||||
b.Property<short?>("UnformattedBPTSql");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("AtaId");
|
||||
@@ -815,10 +875,14 @@ namespace DiscImageChef.Database.Migrations
|
||||
|
||||
b.Property<ushort>("ProductID");
|
||||
|
||||
b.Property<short>("ProductIDSql");
|
||||
|
||||
b.Property<bool>("RemovableMedia");
|
||||
|
||||
b.Property<ushort>("VendorID");
|
||||
|
||||
b.Property<short>("VendorIDSql");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("Usb");
|
||||
|
||||
Reference in New Issue
Block a user