mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
e7a5b96ed0
feat: sql-tools extension, triggers, functions, comments, parameters
13 lines
424 B
TypeScript
13 lines
424 B
TypeScript
import { MigrationInterface, QueryRunner } from 'typeorm';
|
|
|
|
export class TableCleanup1743595393000 implements MigrationInterface {
|
|
name = 'TableCleanup1743595393000';
|
|
|
|
public async up(queryRunner: QueryRunner): Promise<void> {
|
|
await queryRunner.query(`DROP TABLE IF EXISTS "system_config"`);
|
|
await queryRunner.query(`DROP TABLE IF EXISTS "socket_io_attachments"`);
|
|
}
|
|
|
|
public async down(): Promise<void> {}
|
|
}
|