Skip to content

Commit c6f192d

Browse files
committed
Workflow.Data converti en CLOB
1 parent 8f01fe3 commit c6f192d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/providers/WorkflowCore.Persistence.Oracle/Migrations/20230310125506_InitialDatabase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ protected override void Up(MigrationBuilder migrationBuilder)
9393
Description = table.Column<string>(type: "NVARCHAR2(500)", maxLength: 500, nullable: true),
9494
Reference = table.Column<string>(type: "NVARCHAR2(200)", maxLength: 200, nullable: true),
9595
NextExecution = table.Column<long>(type: "NUMBER(19)", nullable: true),
96-
Data = table.Column<string>(type: "NVARCHAR2(2000)", nullable: true),
96+
Data = table.Column<string>(type: "CLOB", nullable: true),
9797
CreateTime = table.Column<DateTime>(type: "TIMESTAMP(7)", nullable: false),
9898
CompleteTime = table.Column<DateTime>(type: "TIMESTAMP(7)", nullable: true),
9999
Status = table.Column<int>(type: "NUMBER(10)", nullable: false)

src/providers/WorkflowCore.Persistence.Oracle/Migrations/OracleContextModelSnapshot.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
301301
.HasColumnType("TIMESTAMP(7)");
302302

303303
b.Property<string>("Data")
304-
.HasColumnType("NVARCHAR2(2000)");
304+
.HasColumnType("CLOB");
305305

306306
b.Property<string>("Description")
307307
.HasMaxLength(500)

0 commit comments

Comments
 (0)