mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
feat: extension, triggers, functions, comments, parameters management in sql-tools (#17269)
feat: sql-tools extension, triggers, functions, comments, parameters
This commit is contained in:
parent
51c2c60231
commit
e7a5b96ed0
170 changed files with 5205 additions and 2295 deletions
12
server/src/migrations/1743595393000-TableCleanup.ts
Normal file
12
server/src/migrations/1743595393000-TableCleanup.ts
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
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> {}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue