123456789101112131415161718192021222324252627282930 |
- using Microsoft.EntityFrameworkCore.Migrations;
- #nullable disable
- namespace MTWorkHR.Infrastructure.Migrations
- {
- /// <inheritdoc />
- public partial class attachContent : Migration
- {
- /// <inheritdoc />
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AddColumn<byte[]>(
- name: "Content",
- table: "UserAttachments",
- type: "varbinary(max)",
- nullable: false,
- defaultValue: new byte[0]);
- }
- /// <inheritdoc />
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropColumn(
- name: "Content",
- table: "UserAttachments");
- }
- }
- }
|