using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Iceshrimp.Backend.Core.Database.Migrations { /// public partial class RemoveDriveFileCommentLengthRestriction : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "comment", table: "drive_file", type: "text", nullable: true, comment: "The comment of the DriveFile.", oldClrType: typeof(string), oldType: "character varying(8192)", oldMaxLength: 8192, oldNullable: true, oldComment: "The comment of the DriveFile."); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "comment", table: "drive_file", type: "character varying(8192)", maxLength: 8192, nullable: true, comment: "The comment of the DriveFile.", oldClrType: typeof(string), oldType: "text", oldNullable: true, oldComment: "The comment of the DriveFile."); } } }