123456789101112131415161718192021222324252627282930 |
- using Microsoft.EntityFrameworkCore.Migrations;
- #nullable disable
- namespace MTWorkHR.Infrastructure.Migrations
- {
- /// <inheritdoc />
- public partial class updateHistory : Migration
- {
- /// <inheritdoc />
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AddColumn<long>(
- name: "TaskId",
- table: "UserTaskHistories",
- type: "bigint",
- nullable: false,
- defaultValue: 0L);
- }
- /// <inheritdoc />
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropColumn(
- name: "TaskId",
- table: "UserTaskHistories");
- }
- }
- }
|