using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace TimetableDesigner.Backend.Services.Authentication.Database.Migrations { /// public partial class Accountchanges : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "PasswordSaltLeft", table: "Accounts"); migrationBuilder.RenameColumn( name: "PasswordSaltRight", table: "Accounts", newName: "PasswordSalt"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.RenameColumn( name: "PasswordSalt", table: "Accounts", newName: "PasswordSaltRight"); migrationBuilder.AddColumn( name: "PasswordSaltLeft", table: "Accounts", type: "character varying(20)", maxLength: 20, nullable: false, defaultValue: ""); } } }