Archived
Added first app template
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
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");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user