24 lines
624 B
C#
24 lines
624 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace app.Data.Migrations
|
|
{
|
|
public partial class _2021_03_13 : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<int>(
|
|
name: "AuthRole",
|
|
table: "AuthUsers",
|
|
nullable: false,
|
|
defaultValue: 0);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "AuthRole",
|
|
table: "AuthUsers");
|
|
}
|
|
}
|
|
}
|