mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Update DB to version 23: Make EntityFramework happy with existing database schema.
This commit is contained in:
@@ -68,7 +68,7 @@ namespace cicm_web.Controllers
|
||||
return View(company);
|
||||
}
|
||||
|
||||
public IActionResult ByCountry(ushort id)
|
||||
public IActionResult ByCountry(short id)
|
||||
{
|
||||
Iso3166 iso3166 = Program.Database.Operations.GetIso3166(id);
|
||||
|
||||
|
||||
@@ -67,6 +67,7 @@ namespace cicm_web.Models
|
||||
public static Processor GetItem(int id)
|
||||
{
|
||||
Cicm.Database.Schemas.Processor dbItem = Program.Database?.Operations.GetProcessor(id);
|
||||
|
||||
return dbItem == null
|
||||
? null
|
||||
: new Processor
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netcoreapp2.0</TargetFramework>
|
||||
<Version>3.0.99.232</Version>
|
||||
<Version>3.0.99.271</Version>
|
||||
<Company>Canary Islands Computer Museum</Company>
|
||||
<Copyright>Copyright © 2003-2018 Natalia Portillo</Copyright>
|
||||
<Product>Canary Islands Computer Museum Website</Product>
|
||||
|
||||
Reference in New Issue
Block a user