Massive/migrations/1699853245534-home-history-startup.ts
Brandon Presley d8eba22914 Rename Home -> History
Although it is very common to have a Home page,
I would rather have every pages name describe
generally what it is.
2023-11-13 18:29:07 +13:00

11 lines
383 B
TypeScript

import { MigrationInterface, QueryRunner } from "typeorm";
import { settingsRepo } from "../db";
export class homeHistoryStartup1699853245534 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
await settingsRepo.update({ startup: "Home" }, { startup: "History" });
}
public async down(queryRunner: QueryRunner): Promise<void> {}
}