mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 11:04:25 +00:00
Add magazine issue number.
This commit is contained in:
6859
Marechai.Database/Migrations/20200808135203_AddMagazineIssueNumber.Designer.cs
generated
Normal file
6859
Marechai.Database/Migrations/20200808135203_AddMagazineIssueNumber.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,13 @@
|
|||||||
|
using Microsoft.EntityFrameworkCore.Migrations;
|
||||||
|
|
||||||
|
namespace Marechai.Database.Migrations
|
||||||
|
{
|
||||||
|
public partial class AddMagazineIssueNumber : Migration
|
||||||
|
{
|
||||||
|
protected override void Up(MigrationBuilder migrationBuilder) =>
|
||||||
|
migrationBuilder.AddColumn<uint>("IssueNumber", "MagazineIssues", nullable: true);
|
||||||
|
|
||||||
|
protected override void Down(MigrationBuilder migrationBuilder) =>
|
||||||
|
migrationBuilder.DropColumn("IssueNumber", "MagazineIssues");
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1896,6 +1896,8 @@ namespace Marechai.Database.Migrations
|
|||||||
|
|
||||||
b.Property<DateTime>("CreatedOn").ValueGeneratedOnAdd().HasColumnType("datetime(6)");
|
b.Property<DateTime>("CreatedOn").ValueGeneratedOnAdd().HasColumnType("datetime(6)");
|
||||||
|
|
||||||
|
b.Property<uint?>("IssueNumber").HasColumnType("int unsigned");
|
||||||
|
|
||||||
b.Property<long>("MagazineId").HasColumnType("bigint");
|
b.Property<long>("MagazineId").HasColumnType("bigint");
|
||||||
|
|
||||||
b.Property<string>("NativeCaption").HasColumnType("varchar(255) CHARACTER SET utf8mb4");
|
b.Property<string>("NativeCaption").HasColumnType("varchar(255) CHARACTER SET utf8mb4");
|
||||||
|
|||||||
@@ -40,7 +40,8 @@ namespace Marechai.Database.Models
|
|||||||
public DateTime? Published { get; set; }
|
public DateTime? Published { get; set; }
|
||||||
[StringLength(18)]
|
[StringLength(18)]
|
||||||
public string ProductCode { get; set; }
|
public string ProductCode { get; set; }
|
||||||
public short? Pages { get; set; }
|
public short? Pages { get; set; }
|
||||||
|
public uint? IssueNumber { get; set; }
|
||||||
|
|
||||||
public virtual Magazine Magazine { get; set; }
|
public virtual Magazine Magazine { get; set; }
|
||||||
public virtual ICollection<PeopleByMagazine> People { get; set; }
|
public virtual ICollection<PeopleByMagazine> People { get; set; }
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||||
<Version>4.0.0.1808</Version>
|
<Version>4.0.0.1809</Version>
|
||||||
<Company>Canary Islands Computer Museum</Company>
|
<Company>Canary Islands Computer Museum</Company>
|
||||||
<Copyright>Copyright © 2003-2020 Natalia Portillo</Copyright>
|
<Copyright>Copyright © 2003-2020 Natalia Portillo</Copyright>
|
||||||
<Product>Canary Islands Computer Museum Website</Product>
|
<Product>Canary Islands Computer Museum Website</Product>
|
||||||
|
|||||||
Reference in New Issue
Block a user