20240627111332_altrUserAtta.cs 762 B

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