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.

26 lines
766 B

2 years ago
  1. using Microsoft.EntityFrameworkCore.Migrations;
  2. #nullable disable
  3. namespace Shentun.Peis.Migrations
  4. {
  5. public partial class init20240523003 : Migration
  6. {
  7. protected override void Up(MigrationBuilder migrationBuilder)
  8. {
  9. migrationBuilder.AddColumn<string>(
  10. name: "family_genetic_history",
  11. table: "patient_occupational_disease",
  12. type: "character varying(200)",
  13. maxLength: 200,
  14. nullable: true);
  15. }
  16. protected override void Down(MigrationBuilder migrationBuilder)
  17. {
  18. migrationBuilder.DropColumn(
  19. name: "family_genetic_history",
  20. table: "patient_occupational_disease");
  21. }
  22. }
  23. }