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

2 years ago
  1. using Microsoft.EntityFrameworkCore.Migrations;
  2. #nullable disable
  3. namespace Shentun.Peis.Migrations
  4. {
  5. public partial class init20240609001 : Migration
  6. {
  7. protected override void Up(MigrationBuilder migrationBuilder)
  8. {
  9. migrationBuilder.AddColumn<char>(
  10. name: "is_basic_recommend",
  11. table: "medical_package",
  12. type: "character(1)",
  13. maxLength: 1,
  14. nullable: false,
  15. defaultValueSql: "'N'",
  16. comment: "是否基础推荐套餐");
  17. }
  18. protected override void Down(MigrationBuilder migrationBuilder)
  19. {
  20. migrationBuilder.DropColumn(
  21. name: "is_basic_recommend",
  22. table: "medical_package");
  23. }
  24. }
  25. }