20250306093615_altrOrderAttach.cs 766 B

1234567891011121314151617181920212223242526272829
  1. using Microsoft.EntityFrameworkCore.Migrations;
  2. #nullable disable
  3. namespace MTWorkHR.Infrastructure.Migrations
  4. {
  5. /// <inheritdoc />
  6. public partial class altrOrderAttach : Migration
  7. {
  8. /// <inheritdoc />
  9. protected override void Up(MigrationBuilder migrationBuilder)
  10. {
  11. migrationBuilder.DropColumn(
  12. name: "AttachmentTypeId",
  13. table: "OrderAttachment");
  14. }
  15. /// <inheritdoc />
  16. protected override void Down(MigrationBuilder migrationBuilder)
  17. {
  18. migrationBuilder.AddColumn<long>(
  19. name: "AttachmentTypeId",
  20. table: "OrderAttachment",
  21. type: "bigint",
  22. nullable: true);
  23. }
  24. }
  25. }