add statement to remove all views

This commit is contained in:
geekgeekrun
2024-10-19 09:16:50 +08:00
parent d2022ea6dc
commit f366d57772

View File

@@ -1,6 +1,11 @@
import { MigrationInterface, QueryRunner } from "typeorm"
const dropViewSql = `DROP VIEW IF EXISTS "v_chat_startup_log"`;
const dropViewSql = `
DROP VIEW IF EXISTS "v_boss_library";
DROP VIEW IF EXISTS "v_chat_startup_log";
DROP VIEW IF EXISTS "v_company_library";
DROP VIEW IF EXISTS "v_job_library";
`;
export class UpdateChatStartupLogTable1729182577167 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {