mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
13 lines
350 B
TypeScript
13 lines
350 B
TypeScript
import type { HydraMigration } from "@main/knex-client";
|
|
import type { Knex } from "knex";
|
|
|
|
export const UpdateUserLanguage: HydraMigration = {
|
|
name: "UpdateUserLanguage",
|
|
up: async (knex: Knex) => {
|
|
await knex("user_preferences")
|
|
.update("language", "pt-BR")
|
|
.where("language", "pt");
|
|
},
|
|
|
|
down: async (_knex: Knex) => {},
|
|
};
|