20260205082847_Migration_20260205162835.cs
1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Rcs.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class Migration_20260205162835 : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "entry_action",
table: "map_resources");
migrationBuilder.DropColumn(
name: "exit_action",
table: "map_resources");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "entry_action",
table: "map_resources",
type: "integer",
nullable: false,
defaultValue: 0);
migrationBuilder.AddColumn<int>(
name: "exit_action",
table: "map_resources",
type: "integer",
nullable: false,
defaultValue: 0);
}
}
}