using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace API.Data.Migrations { /// public partial class LibraryDefaultLanguageCustomKeyBinds : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "DefaultLanguage", table: "Library", type: "TEXT", nullable: true, defaultValue: ""); migrationBuilder.AddColumn( name: "CustomKeyBinds", table: "AppUserPreferences", type: "TEXT", nullable: true, defaultValue: "{}"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "DefaultLanguage", table: "Library"); migrationBuilder.DropColumn( name: "CustomKeyBinds", table: "AppUserPreferences"); } } }