ProvinciaIstat
This commit is contained in:
@ -12,8 +12,8 @@ using StandManager.Infrastructure.DAL.Context;
|
||||
namespace StandManager.Infrastructure.Migrations
|
||||
{
|
||||
[DbContext(typeof(StandManagerDbContext))]
|
||||
[Migration("20251222141858_Province")]
|
||||
partial class Province
|
||||
[Migration("20251222142449_ProvinciaIstat")]
|
||||
partial class ProvinciaIstat
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
@ -535,10 +535,6 @@ namespace StandManager.Infrastructure.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<string>("Comune")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<DateTime>("DataCreazione")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
@ -554,7 +550,11 @@ namespace StandManager.Infrastructure.Migrations
|
||||
b.Property<Guid?>("IdUtenteModifica")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<string>("Istat")
|
||||
b.Property<string>("Provincia")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("Sigla")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
@ -6,7 +6,7 @@ using Microsoft.EntityFrameworkCore.Migrations;
|
||||
namespace StandManager.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class Province : Migration
|
||||
public partial class ProvinciaIstat : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
@ -16,8 +16,8 @@ namespace StandManager.Infrastructure.Migrations
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
Istat = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
Comune = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
Sigla = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
Provincia = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
DataCreazione = table.Column<DateTime>(type: "datetime2", nullable: false),
|
||||
DataModifica = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
Eliminato = table.Column<bool>(type: "bit", nullable: false),
|
||||
@ -532,10 +532,6 @@ namespace StandManager.Infrastructure.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<string>("Comune")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<DateTime>("DataCreazione")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
@ -551,7 +547,11 @@ namespace StandManager.Infrastructure.Migrations
|
||||
b.Property<Guid?>("IdUtenteModifica")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<string>("Istat")
|
||||
b.Property<string>("Provincia")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("Sigla")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user