api v2.1
This commit is contained in:
@@ -32,7 +32,7 @@ namespace Infrastructure.Migrations
|
||||
{
|
||||
Id = table.Column<Guid>(type: "uuid", nullable: false),
|
||||
UserId = table.Column<Guid>(type: "uuid", nullable: false),
|
||||
Description = table.Column<byte[]>(type: "bytea", nullable: false)
|
||||
Content = table.Column<byte[]>(type: "bytea", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
@@ -40,7 +40,7 @@ namespace Infrastructure.Migrations
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "Pacients",
|
||||
name: "Patients",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(type: "uuid", nullable: false),
|
||||
@@ -64,7 +64,7 @@ namespace Infrastructure.Migrations
|
||||
name: "MedicalHistories");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "Pacients");
|
||||
name: "Patients");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ namespace Infrastructure.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("uuid");
|
||||
|
||||
b.Property<byte[]>("Description")
|
||||
b.Property<byte[]>("Content")
|
||||
.IsRequired()
|
||||
.HasColumnType("bytea");
|
||||
|
||||
@@ -63,7 +63,7 @@ namespace Infrastructure.Migrations
|
||||
b.ToTable("MedicalHistories");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Core.Entities.Pacient", b =>
|
||||
modelBuilder.Entity("Core.Entities.Patient", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
@@ -80,7 +80,7 @@ namespace Infrastructure.Migrations
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("Pacients");
|
||||
b.ToTable("Patients");
|
||||
});
|
||||
#pragma warning restore 612, 618
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user