Skip to content

Commit b68a37d

Browse files
committed
Adding null-safe code in page models
1 parent 46cd55c commit b68a37d

File tree

3 files changed

+189
-0
lines changed

3 files changed

+189
-0
lines changed

.github/workflows/main_razortechinventory.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ jobs:
2929
- name: dotnet publish
3030
run: dotnet publish -c Release -o ${{env.DOTNET_ROOT}}/myapp
3131

32+
- name: ef migration
33+
run: dotnet-ef database update
34+
3235
- name: Upload artifact for deployment job
3336
uses: actions/upload-artifact@v4
3437
with:

Migrations/20260102180837_Azure migration.Designer.cs

Lines changed: 164 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
using Microsoft.EntityFrameworkCore.Migrations;
2+
3+
#nullable disable
4+
5+
namespace TechInventory.Migrations
6+
{
7+
/// <inheritdoc />
8+
public partial class Azuremigration : Migration
9+
{
10+
/// <inheritdoc />
11+
protected override void Up(MigrationBuilder migrationBuilder)
12+
{
13+
14+
}
15+
16+
/// <inheritdoc />
17+
protected override void Down(MigrationBuilder migrationBuilder)
18+
{
19+
20+
}
21+
}
22+
}

0 commit comments

Comments
 (0)