blob: 715af9098c704dd430d470cba4fa7dca6e273253 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 | using Microsoft.EntityFrameworkCore.Migrations;
namespace Timeline.Migrations
{
    public partial class AddUserVersion : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<long>(
                name: "version",
                table: "user",
                nullable: false,
                defaultValue: 0L);
        }
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "version",
                table: "user");
        }
    }
}
 |