Brandon Presley
d8eba22914
Although it is very common to have a Home page, I would rather have every pages name describe generally what it is.
11 lines
383 B
TypeScript
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> {}
|
|
}
|