profileShare

rasmusjy / splitapp-backend-clean-onion

Read-only snapshot

No repository description.

main default branch 429 files Expires Sep 13, 2026, 9:06 AM
20260410202112_BudgetCategoryNameToLangStr.cs 1,182 bytes
1 using Microsoft.EntityFrameworkCore.Migrations;
2
3 #nullable disable
4
5 namespace App.DAL.EF.Migrations
6 {
7 /// <inheritdoc />
8 public partial class BudgetCategoryNameToLangStr : Migration
9 {
10 /// <inheritdoc />
11 protected override void Up(MigrationBuilder migrationBuilder)
12 {
13 migrationBuilder.AlterColumn<string>(
14 name: "Name",
15 table: "BudgetCategories",
16 type: "character varying(1024)",
17 maxLength: 1024,
18 nullable: false,
19 oldClrType: typeof(string),
20 oldType: "character varying(100)",
21 oldMaxLength: 100);
22 }
23
24 /// <inheritdoc />
25 protected override void Down(MigrationBuilder migrationBuilder)
26 {
27 migrationBuilder.AlterColumn<string>(
28 name: "Name",
29 table: "BudgetCategories",
30 type: "character varying(100)",
31 maxLength: 100,
32 nullable: false,
33 oldClrType: typeof(string),
34 oldType: "character varying(1024)",
35 oldMaxLength: 1024);
36 }
37 }
38 }
39