You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
812 B
28 lines
812 B
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace Shentun.Peis.Migrations
|
|
{
|
|
public partial class init20240609001 : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<char>(
|
|
name: "is_basic_recommend",
|
|
table: "medical_package",
|
|
type: "character(1)",
|
|
maxLength: 1,
|
|
nullable: false,
|
|
defaultValueSql: "'N'",
|
|
comment: "是否基础推荐套餐");
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "is_basic_recommend",
|
|
table: "medical_package");
|
|
}
|
|
}
|
|
}
|