24 lines
625 B
C#
24 lines
625 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace gswi.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");
|
|
}
|
|
}
|
|
}
|