Update DB to version 20: Machines can have an arbitrary number of storage,

so use an interconnection table, `storage_by_machine`.
This commit is contained in:
2018-04-28 20:52:58 +01:00
parent 90af295fa1
commit fd0b55dee1
17 changed files with 870 additions and 697 deletions

View File

@@ -33,22 +33,8 @@ namespace Cicm.Database.Schemas
/// <summary>Computer</summary>
public class Machine
{
/// <summary>Capacity of first removable disk format</summary>
public string Cap1;
/// <summary>Capacity of second removable disk format</summary>
public string Cap2;
/// <summary>Manufacturer's company ID</summary>
public int Company;
/// <summary>ID of first removable disk format</summary>
public int Disk1;
/// <summary>ID of second removable disk format</summary>
public int Disk2;
/// <summary>ID of first hard disk format</summary>
public int Hdd1;
/// <summary>ID of second hard disk format</summary>
public int Hdd2;
/// <summary>ID of third hard disk format</summary>
public int Hdd3;
/// <summary>ID</summary>
public int Id;
/// <summary>Model name</summary>