Skip to content

Commit dbddb07

Browse files
authored
Increase the size of the appointment descritption column and NuGet/Docker updates (#110)
1 parent 4ed55bb commit dbddb07

File tree

7 files changed

+211
-9
lines changed

7 files changed

+211
-9
lines changed

build/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:8.0.203 AS builder
1+
FROM mcr.microsoft.com/dotnet/sdk:8.0.204 AS builder
22

33
ARG HOMEASSISTANT__HOST
44
ARG HOMEASSISTANT__PORT

src/NuttyTree.NetDaemon.Infrastructure/Database/Entities/AppointmentEntity.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public AppointmentEntity(
3333
[MaxLength(100)]
3434
public string Summary { get; set; }
3535

36-
[MaxLength(2000)]
36+
[MaxLength(4000)]
3737
public string? Description { get; set; }
3838

3939
[MaxLength(100)]

src/NuttyTree.NetDaemon.Infrastructure/Database/Migrations/20240417115540_IncreaseDescriptionSize.Designer.cs

Lines changed: 180 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 NuttyTree.NetDaemon.Infrastructure.Database.Migrations
6+
{
7+
/// <inheritdoc />
8+
public partial class IncreaseDescriptionSize : 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+
}

src/NuttyTree.NetDaemon.Infrastructure/Database/Migrations/NuttyDbContextModelSnapshot.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
1717
{
1818
#pragma warning disable 612, 618
1919
modelBuilder
20-
.HasAnnotation("ProductVersion", "8.0.2")
20+
.HasAnnotation("ProductVersion", "8.0.3")
2121
.HasAnnotation("Relational:MaxIdentifierLength", 128);
2222

2323
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);

src/NuttyTree.NetDaemon.Infrastructure/NuttyTree.NetDaemon.Infrastructure.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.3" />
10+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.4" />
1111
<PackageReference Include="NetDaemon.HassModel" Version="24.12.0" />
12-
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.3">
12+
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.4">
1313
<PrivateAssets>all</PrivateAssets>
1414
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1515
</PackageReference>
16-
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.3" />
16+
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.4" />
1717
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="8.0.0" />
18-
<PackageReference Include="Microsoft.Extensions.Http.Polly" Version="8.0.3" />
18+
<PackageReference Include="Microsoft.Extensions.Http.Polly" Version="8.0.4" />
1919
<PackageReference Include="Serilog.AspNetCore" Version="8.0.1" />
2020
<PackageReference Include="Serilog.Sinks.Async" Version="1.5.0" />
2121
<PackageReference Include="Serilog.Sinks.Console" Version="5.0.1" />

tests/NuttyTree.NetDaemon.Application.UnitTests/NuttyTree.NetDaemon.Application.UnitTests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
<PackageReference Include="Bogus" Version="35.5.0" />
1010
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
1111
<PackageReference Include="Moq" Version="4.20.70" />
12-
<PackageReference Include="xunit" Version="2.7.0" />
13-
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.7">
12+
<PackageReference Include="xunit" Version="2.7.1" />
13+
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.8">
1414
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1515
<PrivateAssets>all</PrivateAssets>
1616
</PackageReference>

0 commit comments

Comments
 (0)