Skip to content

Commit 2a61f59

Browse files
committed
chore: add migration to comply with net9
1 parent 09e1a6b commit 2a61f59

File tree

3 files changed

+450
-41
lines changed

3 files changed

+450
-41
lines changed

Telerik.Examples.Mvc/Telerik.Examples.Mvc/Migrations/20250224111117_InitialUpdate.Designer.cs

Lines changed: 364 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
using Microsoft.EntityFrameworkCore.Migrations;
2+
3+
#nullable disable
4+
5+
namespace Telerik.Examples.Mvc.Migrations
6+
{
7+
/// <inheritdoc />
8+
public partial class InitialUpdate : Migration
9+
{
10+
/// <inheritdoc />
11+
protected override void Up(MigrationBuilder migrationBuilder)
12+
{
13+
migrationBuilder.AddColumn<int>(
14+
name: "RoomID",
15+
table: "Tasks",
16+
type: "int",
17+
nullable: true);
18+
}
19+
20+
/// <inheritdoc />
21+
protected override void Down(MigrationBuilder migrationBuilder)
22+
{
23+
migrationBuilder.DropColumn(
24+
name: "RoomID",
25+
table: "Tasks");
26+
}
27+
}
28+
}

0 commit comments

Comments
 (0)