Custom keybinds, Default language per Library, and bugfixes (#4162)

Co-authored-by: Joseph Milazzo <josephmajora@gmail.com>
This commit is contained in:
Fesaa
2025-11-01 15:56:00 +01:00
committed by GitHub
parent f9280f6861
commit 2c6eddfebb
72 changed files with 6038 additions and 441 deletions
@@ -0,0 +1,40 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace API.Data.Migrations
{
/// <inheritdoc />
public partial class LibraryDefaultLanguageCustomKeyBinds : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "DefaultLanguage",
table: "Library",
type: "TEXT",
nullable: true,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "CustomKeyBinds",
table: "AppUserPreferences",
type: "TEXT",
nullable: true,
defaultValue: "{}");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "DefaultLanguage",
table: "Library");
migrationBuilder.DropColumn(
name: "CustomKeyBinds",
table: "AppUserPreferences");
}
}
}