Skip to content
Snippets Groups Projects
Commit bf3411c8 authored by Enzo Santangelo Dodera's avatar Enzo Santangelo Dodera
Browse files

Merge branch 'feature/data-load' into 'develop'

data-load

See merge request !51
parents 82f7975d cbc48999
No related branches found
No related tags found
1 merge request!51data-load
Pipeline #10684 passed
This diff is collapsed.
...@@ -27,7 +27,6 @@ namespace Tsi1.DataLayer.EntityConfiguration ...@@ -27,7 +27,6 @@ namespace Tsi1.DataLayer.EntityConfiguration
.IsRequired(); .IsRequired();
builder.Property(x => x.Password) builder.Property(x => x.Password)
.IsRequired()
.HasColumnType("character varying(200)"); .HasColumnType("character varying(200)");
builder.HasOne(x => x.Tenant) builder.HasOne(x => x.Tenant)
......
using Microsoft.EntityFrameworkCore.Migrations;
namespace Tsi1.DataLayer.Migrations
{
public partial class coursepasswordnullable : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "Password",
table: "Courses",
type: "character varying(200)",
nullable: true,
oldClrType: typeof(string),
oldType: "character varying(200)");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "Password",
table: "Courses",
type: "character varying(200)",
nullable: false,
oldClrType: typeof(string),
oldType: "character varying(200)",
oldNullable: true);
}
}
}
...@@ -168,7 +168,6 @@ namespace Tsi1.DataLayer.Migrations ...@@ -168,7 +168,6 @@ namespace Tsi1.DataLayer.Migrations
.HasColumnType("character varying(50)"); .HasColumnType("character varying(50)");
b.Property<string>("Password") b.Property<string>("Password")
.IsRequired()
.HasColumnType("character varying(200)"); .HasColumnType("character varying(200)");
b.Property<int>("TenantId") b.Property<int>("TenantId")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment