summaryrefslogtreecommitdiff
path: root/Migrations/20221106063220_DeleteJoinTableId.cs
blob: 20cea64242b85953f25f14f46e8942675fefd81b (plain)
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
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace LibraryAPI.Migrations
{
    public partial class DeleteJoinTableId : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "Id",
                table: "GroupUserAccounts");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<long>(
                name: "Id",
                table: "GroupUserAccounts",
                type: "bigint",
                nullable: false,
                defaultValue: 0L);
        }
    }
}