mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
refactor: rename migration to be more descriptive
This commit is contained in:
parent
43558f8c0e
commit
5fb08b39fa
2 changed files with 4 additions and 4 deletions
|
|
@ -1,8 +1,8 @@
|
|||
import type { HydraMigration } from "@main/knex-client";
|
||||
import type { Knex } from "knex";
|
||||
|
||||
export const QualityOfLife: HydraMigration = {
|
||||
name: "QualityOfLife",
|
||||
export const AddStartMinimizedColumn: HydraMigration = {
|
||||
name: "AddStartMinimizedColumn",
|
||||
up: (knex: Knex) => {
|
||||
return knex.schema.alterTable("user_preferences", (table) => {
|
||||
return table.boolean("startMinimized").notNullable().defaultTo(0);
|
||||
Loading…
Add table
Add a link
Reference in a new issue