v3.0.1
v3.0.1
This commit is contained in:
24
CC.Yi/CC.Yi.Model/Migrations/20210602115718_yi2.cs
Normal file
24
CC.Yi/CC.Yi.Model/Migrations/20210602115718_yi2.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace CC.Yi.Model.Migrations
|
||||
{
|
||||
public partial class yi2 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "is_delete",
|
||||
table: "student",
|
||||
type: "INTEGER",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "is_delete",
|
||||
table: "student");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user