20250204145927_altrOrderRequest2.cs 752 B

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