mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-06-09 09:29:46 +08:00
add statement to remove all views
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user