123456789101112131415161718192021222324252627282930313233343536373839 |
- using Microsoft.EntityFrameworkCore.Migrations;
- #nullable disable
- namespace MTWorkHR.Infrastructure.Migrations
- {
- /// <inheritdoc />
- public partial class altrTaskAttachment : Migration
- {
- /// <inheritdoc />
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AddColumn<long>(
- name: "FileSize",
- table: "UserTaskAttachments",
- type: "bigint",
- nullable: true);
- migrationBuilder.AddColumn<string>(
- name: "ProfileImage",
- table: "TeamUser",
- type: "nvarchar(max)",
- nullable: true);
- }
- /// <inheritdoc />
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropColumn(
- name: "FileSize",
- table: "UserTaskAttachments");
- migrationBuilder.DropColumn(
- name: "ProfileImage",
- table: "TeamUser");
- }
- }
- }
|