mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-09-08 17:09:07 +08:00
add statement to remove all views
This commit is contained in:
@@ -1,6 +1,11 @@
|
|||||||
import { MigrationInterface, QueryRunner } from "typeorm"
|
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 {
|
export class UpdateChatStartupLogTable1729182577167 implements MigrationInterface {
|
||||||
public async up(queryRunner: QueryRunner): Promise<void> {
|
public async up(queryRunner: QueryRunner): Promise<void> {
|
||||||
|
|||||||
Reference in New Issue
Block a user