using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace GermanApp.Infrastructure.Data.Migrations { /// public partial class AddRoleToUser : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "Role", table: "Users", type: "character varying(20)", maxLength: 20, nullable: false, defaultValue: "User"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "Role", table: "Users"); } } }