Skip to content

Commit

Permalink
Merge pull request #23 from dotClique/i16/upgrade-dotnet-6
Browse files Browse the repository at this point in the history
Upgrade to .NET 6.0
  • Loading branch information
Dentsor authored Jan 26, 2022
2 parents 0603732 + aaff50c commit 38d3d68
Show file tree
Hide file tree
Showing 12 changed files with 527 additions and 68 deletions.
6 changes: 3 additions & 3 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
"isRoot": true,
"tools": {
"dotnet-ef": {
"version": "5.0.9",
"version": "6.0.1",
"commands": [
"dotnet-ef"
]
},
"dotnet-format": {
"version": "5.0.211103",
"version": "5.1.250801",
"commands": [
"dotnet-format"
]
},
"dotnet-aspnet-codegenerator": {
"version": "5.0.2",
"version": "6.0.1",
"commands": [
"dotnet-aspnet-codegenerator"
]
Expand Down
12 changes: 6 additions & 6 deletions SpeiderappAPI/Migrations/20210830202724_initial.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions SpeiderappAPI/Migrations/20210830202724_initial.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,28 +166,28 @@ protected override void Up(MigrationBuilder migrationBuilder)
columns: new[] { "RequirementID", "AuthorID", "Description", "Discriminator", "Image", "PublishTime", "Title" },
values: new object[,]
{
{ -1L, -1L, "This is a cool badge for chucking wood.", "Badge", "3aas!2d=", new DateTime(2021, 8, 30, 22, 27, 23, 270, DateTimeKind.Local).AddTicks(6919), "Woodchuck" },
{ -4L, -1L, "Hobby-baserte aktiviteter for alle aldre", "Badge", "http://placekitten.com/g/200/200", new DateTime(2021, 8, 27, 20, 27, 23, 271, DateTimeKind.Utc).AddTicks(1750), "Hobby" }
{ -1L, -1L, "This is a cool badge for chucking wood.", "Badge", "3aas!2d=", new DateTime(2021, 8, 30, 22, 27, 23, 270, DateTimeKind.Unspecified).AddTicks(6919), "Woodchuck" },
{ -4L, -1L, "Hobby-baserte aktiviteter for alle aldre", "Badge", "http://placekitten.com/g/200/200", new DateTime(2021, 8, 27, 20, 27, 23, 271, DateTimeKind.Unspecified).AddTicks(1750), "Hobby" }
});

migrationBuilder.InsertData(
table: "Requirements",
columns: new[] { "RequirementID", "AuthorID", "Description", "Discriminator", "PublishTime" },
values: new object[,]
{
{ -2L, -1L, "Actually chop wood", "Requirement", new DateTime(2021, 8, 30, 22, 27, 23, 271, DateTimeKind.Local).AddTicks(2065) },
{ -5L, -1L, "Stoff-handling", "Requirement", new DateTime(2021, 8, 28, 22, 27, 23, 271, DateTimeKind.Local).AddTicks(2186) }
{ -2L, -1L, "Actually chop wood", "Requirement", new DateTime(2021, 8, 30, 22, 27, 23, 271, DateTimeKind.Unspecified).AddTicks(2065) },
{ -5L, -1L, "Stoff-handling", "Requirement", new DateTime(2021, 8, 28, 22, 27, 23, 271, DateTimeKind.Unspecified).AddTicks(2186) }
});

migrationBuilder.InsertData(
table: "Requirements",
columns: new[] { "RequirementID", "AuthorID", "Description", "Discriminator", "Image", "PublishTime", "Title" },
values: new object[] { -3L, -2L, "Beskrivende test-tekst", "Badge", "http://placekitten.com/g/200/300", new DateTime(2021, 8, 30, 22, 27, 23, 271, DateTimeKind.Local).AddTicks(1704), "Testing" });
values: new object[] { -3L, -2L, "Beskrivende test-tekst", "Badge", "http://placekitten.com/g/200/300", new DateTime(2021, 8, 30, 22, 27, 23, 271, DateTimeKind.Unspecified).AddTicks(1704), "Testing" });

migrationBuilder.InsertData(
table: "Requirements",
columns: new[] { "RequirementID", "AuthorID", "Description", "Discriminator", "PublishTime" },
values: new object[] { -6L, -3L, "Sytråd-shopping", "Requirement", new DateTime(2021, 8, 30, 7, 27, 23, 271, DateTimeKind.Local).AddTicks(2196) });
values: new object[] { -6L, -3L, "Sytråd-shopping", "Requirement", new DateTime(2021, 8, 30, 7, 27, 23, 271, DateTimeKind.Unspecified).AddTicks(2196) });

migrationBuilder.InsertData(
table: "RequirementPrerequisites",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions SpeiderappAPI/Migrations/20211008172734_nullability_fix.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,42 +12,42 @@ protected override void Up(MigrationBuilder migrationBuilder)
keyColumn: "RequirementID",
keyValue: -4L,
column: "PublishTime",
value: new DateTime(2021, 10, 5, 17, 27, 33, 816, DateTimeKind.Utc).AddTicks(5079));
value: new DateTime(2021, 10, 5, 17, 27, 33, 816, DateTimeKind.Unspecified).AddTicks(5079));

migrationBuilder.UpdateData(
table: "Requirements",
keyColumn: "RequirementID",
keyValue: -3L,
column: "PublishTime",
value: new DateTime(2021, 10, 8, 19, 27, 33, 816, DateTimeKind.Local).AddTicks(5059));
value: new DateTime(2021, 10, 8, 19, 27, 33, 816, DateTimeKind.Unspecified).AddTicks(5059));

migrationBuilder.UpdateData(
table: "Requirements",
keyColumn: "RequirementID",
keyValue: -1L,
column: "PublishTime",
value: new DateTime(2021, 10, 8, 19, 27, 33, 816, DateTimeKind.Local).AddTicks(3685));
value: new DateTime(2021, 10, 8, 19, 27, 33, 816, DateTimeKind.Unspecified).AddTicks(3685));

migrationBuilder.UpdateData(
table: "Requirements",
keyColumn: "RequirementID",
keyValue: -6L,
column: "PublishTime",
value: new DateTime(2021, 10, 8, 4, 27, 33, 816, DateTimeKind.Local).AddTicks(5365));
value: new DateTime(2021, 10, 8, 4, 27, 33, 816, DateTimeKind.Unspecified).AddTicks(5365));

migrationBuilder.UpdateData(
table: "Requirements",
keyColumn: "RequirementID",
keyValue: -5L,
column: "PublishTime",
value: new DateTime(2021, 10, 6, 19, 27, 33, 816, DateTimeKind.Local).AddTicks(5357));
value: new DateTime(2021, 10, 6, 19, 27, 33, 816, DateTimeKind.Unspecified).AddTicks(5357));

migrationBuilder.UpdateData(
table: "Requirements",
keyColumn: "RequirementID",
keyValue: -2L,
column: "PublishTime",
value: new DateTime(2021, 10, 8, 19, 27, 33, 816, DateTimeKind.Local).AddTicks(5283));
value: new DateTime(2021, 10, 8, 19, 27, 33, 816, DateTimeKind.Unspecified).AddTicks(5283));
}

protected override void Down(MigrationBuilder migrationBuilder)
Expand All @@ -57,42 +57,42 @@ protected override void Down(MigrationBuilder migrationBuilder)
keyColumn: "RequirementID",
keyValue: -4L,
column: "PublishTime",
value: new DateTime(2021, 10, 5, 17, 25, 42, 845, DateTimeKind.Utc).AddTicks(5525));
value: new DateTime(2021, 10, 5, 17, 25, 42, 845, DateTimeKind.Unspecified).AddTicks(5525));

migrationBuilder.UpdateData(
table: "Requirements",
keyColumn: "RequirementID",
keyValue: -3L,
column: "PublishTime",
value: new DateTime(2021, 10, 8, 19, 25, 42, 845, DateTimeKind.Local).AddTicks(5507));
value: new DateTime(2021, 10, 8, 19, 25, 42, 845, DateTimeKind.Unspecified).AddTicks(5507));

migrationBuilder.UpdateData(
table: "Requirements",
keyColumn: "RequirementID",
keyValue: -1L,
column: "PublishTime",
value: new DateTime(2021, 10, 8, 19, 25, 42, 845, DateTimeKind.Local).AddTicks(4632));
value: new DateTime(2021, 10, 8, 19, 25, 42, 845, DateTimeKind.Unspecified).AddTicks(4632));

migrationBuilder.UpdateData(
table: "Requirements",
keyColumn: "RequirementID",
keyValue: -6L,
column: "PublishTime",
value: new DateTime(2021, 10, 8, 4, 25, 42, 845, DateTimeKind.Local).AddTicks(5710));
value: new DateTime(2021, 10, 8, 4, 25, 42, 845, DateTimeKind.Unspecified).AddTicks(5710));

migrationBuilder.UpdateData(
table: "Requirements",
keyColumn: "RequirementID",
keyValue: -5L,
column: "PublishTime",
value: new DateTime(2021, 10, 6, 19, 25, 42, 845, DateTimeKind.Local).AddTicks(5706));
value: new DateTime(2021, 10, 6, 19, 25, 42, 845, DateTimeKind.Unspecified).AddTicks(5706));

migrationBuilder.UpdateData(
table: "Requirements",
keyColumn: "RequirementID",
keyValue: -2L,
column: "PublishTime",
value: new DateTime(2021, 10, 8, 19, 25, 42, 845, DateTimeKind.Local).AddTicks(5668));
value: new DateTime(2021, 10, 8, 19, 25, 42, 845, DateTimeKind.Unspecified).AddTicks(5668));
}
}
}
12 changes: 6 additions & 6 deletions SpeiderappAPI/Migrations/20211008173529_fix_seed_datetime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,42 +57,42 @@ protected override void Down(MigrationBuilder migrationBuilder)
keyColumn: "RequirementID",
keyValue: -4L,
column: "PublishTime",
value: new DateTime(2021, 8, 27, 20, 27, 23, 271, DateTimeKind.Utc).AddTicks(1750));
value: new DateTime(2021, 8, 27, 20, 27, 23, 271, DateTimeKind.Unspecified).AddTicks(1750));

migrationBuilder.UpdateData(
table: "Requirements",
keyColumn: "RequirementID",
keyValue: -3L,
column: "PublishTime",
value: new DateTime(2021, 8, 30, 22, 27, 23, 271, DateTimeKind.Local).AddTicks(1704));
value: new DateTime(2021, 8, 30, 22, 27, 23, 271, DateTimeKind.Unspecified).AddTicks(1704));

migrationBuilder.UpdateData(
table: "Requirements",
keyColumn: "RequirementID",
keyValue: -1L,
column: "PublishTime",
value: new DateTime(2021, 8, 30, 22, 27, 23, 270, DateTimeKind.Local).AddTicks(6919));
value: new DateTime(2021, 8, 30, 22, 27, 23, 270, DateTimeKind.Unspecified).AddTicks(6919));

migrationBuilder.UpdateData(
table: "Requirements",
keyColumn: "RequirementID",
keyValue: -6L,
column: "PublishTime",
value: new DateTime(2021, 8, 30, 7, 27, 23, 271, DateTimeKind.Local).AddTicks(2196));
value: new DateTime(2021, 8, 30, 7, 27, 23, 271, DateTimeKind.Unspecified).AddTicks(2196));

migrationBuilder.UpdateData(
table: "Requirements",
keyColumn: "RequirementID",
keyValue: -5L,
column: "PublishTime",
value: new DateTime(2021, 8, 28, 22, 27, 23, 271, DateTimeKind.Local).AddTicks(2186));
value: new DateTime(2021, 8, 28, 22, 27, 23, 271, DateTimeKind.Unspecified).AddTicks(2186));

migrationBuilder.UpdateData(
table: "Requirements",
keyColumn: "RequirementID",
keyValue: -2L,
column: "PublishTime",
value: new DateTime(2021, 8, 30, 22, 27, 23, 271, DateTimeKind.Local).AddTicks(2065));
value: new DateTime(2021, 8, 30, 22, 27, 23, 271, DateTimeKind.Unspecified).AddTicks(2065));
}
}
}
Loading

0 comments on commit 38d3d68

Please sign in to comment.