CleanUp
This commit is contained in:
@@ -22,6 +22,60 @@ namespace Apollon.EntityFramework.Migrations
|
||||
|
||||
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder, 1L, 1);
|
||||
|
||||
modelBuilder.Entity("Apollon.EntityFramework.DTOs.CompetitionDto", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||||
|
||||
b.Property<string>("CompetitionImage")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("CompetitionName")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("Competition");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Apollon.EntityFramework.DTOs.NameListDto", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<string>("Birthday")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("Country")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("FirstName")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("LastName")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<int>("PassNumber")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int>("Qualification")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("Society")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<int>("SocietyNumber")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("NameList");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Apollon.EntityFramework.DTOs.TournamentDto", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
@@ -52,6 +106,9 @@ namespace Apollon.EntityFramework.Migrations
|
||||
b.Property<DateTime>("StartDate")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<int>("Targets")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("TournamentName")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user