20230208053039_AddTableParamLogUserName.cs 608 B

12345678910111213141516171819202122
  1. using Microsoft.EntityFrameworkCore.Migrations;
  2. namespace Repository.Migrations
  3. {
  4. public partial class AddTableParamLogUserName : Migration
  5. {
  6. protected override void Up(MigrationBuilder migrationBuilder)
  7. {
  8. migrationBuilder.AddColumn<string>(
  9. name: "UserName",
  10. table: "ParamLogs",
  11. nullable: true);
  12. }
  13. protected override void Down(MigrationBuilder migrationBuilder)
  14. {
  15. migrationBuilder.DropColumn(
  16. name: "UserName",
  17. table: "ParamLogs");
  18. }
  19. }
  20. }