using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Modules.User.Database.Migrations { /// public partial class M001 : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "AvatarId", table: "Users", type: "text", nullable: true, oldClrType: typeof(Guid), oldType: "uuid", oldNullable: true); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "AvatarId", table: "Users", type: "uuid", nullable: true, oldClrType: typeof(string), oldType: "text", oldNullable: true); } } }