Update DB to version 14: Computers and consoles are now machines with different type.

This commit is contained in:
2018-04-28 02:10:03 +01:00
parent 40d07af9c5
commit d8127630b3
28 changed files with 1694 additions and 2209 deletions

View File

@@ -42,7 +42,7 @@ namespace cicm_web.Models
public bool Boxed;
public int Cap1;
public int Cap2;
public Computer Computer;
public Machine Computer;
public Processor Cpu1;
public Processor Cpu2;
public DiskFormat Disk1;
@@ -75,7 +75,7 @@ namespace cicm_web.Models
static OwnedComputer TransformItem(Cicm.Database.Schemas.OwnedComputer dbItem)
{
Computer computer = Computer.GetItem(dbItem.ComputerId);
Machine computer = Machine.GetItem(dbItem.ComputerId);
OwnedComputer item = new OwnedComputer
{