Skip to content

Commit cc6d2ff

Browse files
committed
Update EF migrations
Signed-off-by: Victor Chang <[email protected]>
1 parent 66b9428 commit cc6d2ff

File tree

4 files changed

+2
-19
lines changed

4 files changed

+2
-19
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ jobs:
230230
verbose: true
231231

232232
integration-test:
233-
runs-on: ubuntu-22.04
233+
runs-on: ubuntu-latest
234234
timeout-minutes: 30
235235
strategy:
236236
matrix:

src/Database/EntityFramework/Migrations/20221115163047_R3_0.3.4.Designer.cs renamed to src/Database/EntityFramework/Migrations/20221116172042_R3_0.3.4.Designer.cs

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Database/EntityFramework/Migrations/20221115163047_R3_0.3.4.cs renamed to src/Database/EntityFramework/Migrations/20221116172042_R3_0.3.4.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,6 @@ protected override void Up(MigrationBuilder migrationBuilder)
5454
nullable: false,
5555
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified));
5656

57-
migrationBuilder.AddColumn<DateTime>(
58-
name: "DateTimeCreated",
59-
table: "InferenceRequests",
60-
type: "TEXT",
61-
nullable: false,
62-
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified));
63-
6457
migrationBuilder.AddPrimaryKey(
6558
name: "PK_Payloads",
6659
table: "Payloads",
@@ -128,10 +121,6 @@ protected override void Down(MigrationBuilder migrationBuilder)
128121
name: "DateTimeCreated",
129122
table: "DestinationApplicationEntities");
130123

131-
migrationBuilder.DropColumn(
132-
name: "DateTimeCreated",
133-
table: "InferenceRequests");
134-
135124
migrationBuilder.RenameTable(
136125
name: "Payloads",
137126
newName: "Payload");

src/Database/EntityFramework/Migrations/InformaticsGatewayContextModelSnapshot.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,6 @@ protected override void BuildModel(ModelBuilder modelBuilder)
9090
.ValueGeneratedOnAdd()
9191
.HasColumnType("TEXT");
9292

93-
b.Property<DateTime>("DateTimeCreated")
94-
.HasColumnType("TEXT");
95-
9693
b.Property<string>("InputMetadata")
9794
.HasColumnType("TEXT");
9895

0 commit comments

Comments
 (0)