Add Oracle For ApplicationDBContext and ApplicationDBExamContext

This commit is contained in:
Suphonchai Phoonsawat 2024-05-03 14:02:06 +07:00
parent f5558747d8
commit ff711c38df
10 changed files with 39109 additions and 11 deletions

View file

@ -12,7 +12,7 @@ using Oracle.EntityFrameworkCore.Metadata;
namespace BMA.EHR.Infrastructure.Migrations
{
[DbContext(typeof(LeaveDbContext))]
[Migration("20240503063439_Init Oracle Project")]
[Migration("20240503063836_Init Oracle Project")]
partial class InitOracleProject
{
/// <inheritdoc />
@ -36,7 +36,7 @@ namespace BMA.EHR.Infrastructure.Migrations
b.Property<string>("Detail")
.IsRequired()
.HasColumnType("text");
.HasColumnType("NCLOB");
b.Property<string>("FileName")
.IsRequired()

View file

@ -43,7 +43,7 @@ namespace BMA.EHR.Infrastructure.Migrations
FileName = table.Column<string>(type: "NVARCHAR2(255)", maxLength: 255, nullable: false),
FileSize = table.Column<int>(type: "NUMBER(10)", nullable: false),
FileType = table.Column<string>(type: "NVARCHAR2(128)", maxLength: 128, nullable: false),
Detail = table.Column<string>(type: "text(2000)", nullable: false),
Detail = table.Column<string>(type: "NCLOB", nullable: false),
ObjectRefId = table.Column<Guid>(type: "RAW(16)", nullable: false),
CreatedDate = table.Column<DateTime>(type: "TIMESTAMP(7)", nullable: false)
},

File diff suppressed because it is too large Load diff

View file

@ -33,7 +33,7 @@ namespace BMA.EHR.Infrastructure.Migrations
b.Property<string>("Detail")
.IsRequired()
.HasColumnType("text");
.HasColumnType("NCLOB");
b.Property<string>("FileName")
.IsRequired()